noneIfEmpty property

Option<Map<K, V>> get noneIfEmpty

Implementation

Option<Map<K, V>> get noneIfEmpty {
  return Option.from(isEmpty ? null : this);
}