isBinary property
bool
get
isBinary
Determines whether a given string represents a valid binary number.
Implementation
bool get isBinary => _hasMatch(this, r'^[0-1]+$');
Determines whether a given string represents a valid binary number.
bool get isBinary => _hasMatch(this, r'^[0-1]+$');