SchemaSummary.fromJson constructor

SchemaSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SchemaSummary.fromJson(Map<String, dynamic> json) {
  return SchemaSummary(
    lastModified: timeStampFromJson(json['LastModified']),
    schemaArn: json['SchemaArn'] as String?,
    schemaName: json['SchemaName'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    versionCount: json['VersionCount'] as int?,
  );
}