Constant constructor

Constant(
  1. Object? value
)

Creates a constant from a plain value: null, bool, int, double, String, DateTime, Timestamp, GeoPoint, Blob, VectorValue, DocumentReference, or lists and maps of those.

Implementation

Constant(this.value) : _modelValue = null;