Field constructor

  1. @JsonSerializable(explicitToJson: true)
const Field({
  1. required String key,
  2. required dynamic value,
})

Constructor

Implementation

@JsonSerializable(explicitToJson: true)
const factory Field(
    {

    /// Key is the name of the field. Cannot begin with an underscore.
    required String key,

    /// Value is the filterable value of this Field.
    required dynamic value}) = _Field;