isMapNullOrEmpty property

  1. @useResult
bool get isMapNullOrEmpty

Returns true if this map is null or empty.

Implementation

@useResult
bool get isMapNullOrEmpty => this?.isEmpty ?? true;