MapsObjectId<T> constructor Null safety

const MapsObjectId<T>(
  1. String value
)

Creates an immutable object representing a T among GoogleMap Ts.

An AssertionError will be thrown if value is null.

Implementation

const MapsObjectId(this.value) : assert(value != null);