IndexEntity.fromJson constructor

IndexEntity.fromJson(
  1. Map json_
)

Implementation

IndexEntity.fromJson(core.Map json_)
    : this(
        customFeatures: json_.containsKey('customFeatures')
            ? json_['customFeatures'] as core.Map<core.String, core.dynamic>
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        tableColumns: json_.containsKey('tableColumns')
            ? (json_['tableColumns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        unique:
            json_.containsKey('unique') ? json_['unique'] as core.bool : null,
      );