IndexConfig.fromJson constructor
Implementation
factory IndexConfig.fromJson(Map<String, dynamic> json) {
return IndexConfig(
fieldPath: json['fieldPath'] ?? '',
type: decodeEnum(json['type'], IndexType.fromJson) ?? IndexType.$default,
createTime: decodeCustom(json['createTime'], Timestamp.fromJson),
);
}