isDefined method
True if key
has a nonempty value in the underlying map.
Differs from Map.containsKey by excluding empty values.
Implementation
bool isDefined(String key) => _map[key]?.isNotEmpty ?? false;
True if key
has a nonempty value in the underlying map.
Differs from Map.containsKey by excluding empty values.
bool isDefined(String key) => _map[key]?.isNotEmpty ?? false;