clone method

Map<K, V> clone({
  1. bool immutable = false,
})

Implementation

Map<K, V> clone({bool immutable = false}) {
  if (immutable) return this.immutable;
  return Map<K, V>.from(this);
}