12 lines
215 B
Dart
12 lines
215 B
Dart
library cubetiq_flutter_shared;
|
|
|
|
|
|
class MyFunction {
|
|
static String? asUpperCaseThenTrim(String? text) {
|
|
if (text == null || text.isEmpty) {
|
|
return text;
|
|
}
|
|
|
|
return text.toUpperCase().trim();
|
|
}
|
|
} |