IndexElementDefinition.fromJson constructor

IndexElementDefinition.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory IndexElementDefinition.fromJson(
    Map<String, dynamic> jsonSerialization) {
  return IndexElementDefinition(
    type: _i2.IndexElementDefinitionType.fromJson(
        (jsonSerialization['type'] as int)),
    definition: jsonSerialization['definition'] as String,
  );
}