SchemaFieldSpecNumericIndexingSpec.fromJson constructor

SchemaFieldSpecNumericIndexingSpec.fromJson(
  1. Map json_
)

Implementation

SchemaFieldSpecNumericIndexingSpec.fromJson(core.Map json_)
    : this(
        maxValue: json_.containsKey('maxValue')
            ? (json_['maxValue'] as core.num).toDouble()
            : null,
        minValue: json_.containsKey('minValue')
            ? (json_['minValue'] as core.num).toDouble()
            : null,
      );