zeroIfBlank property

String get zeroIfBlank

Returns the string if it is blank, otherwise returns "0".

Implementation

String get zeroIfBlank => ifBlank("0")!;