valueOrNull method
The text, or null when empty (handy for optional API fields). controller.valueOrNull()
Implementation
String? valueOrNull() => text.isEmpty ? null : text;
The text, or null when empty (handy for optional API fields). controller.valueOrNull()
String? valueOrNull() => text.isEmpty ? null : text;