IndexConfigurationSummary.fromJson constructor
IndexConfigurationSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory IndexConfigurationSummary.fromJson(Map<String, dynamic> json) {
return IndexConfigurationSummary(
createdAt: nonNullableTimeStampFromJson(json['CreatedAt'] as Object),
status: (json['Status'] as String).toIndexStatus(),
updatedAt: nonNullableTimeStampFromJson(json['UpdatedAt'] as Object),
edition: (json['Edition'] as String?)?.toIndexEdition(),
id: json['Id'] as String?,
name: json['Name'] as String?,
);
}