UpdateSchemaResponse.fromJson constructor

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

Implementation

factory UpdateSchemaResponse.fromJson(Map<String, dynamic> json) {
  return UpdateSchemaResponse(
    description: json['Description'] as String?,
    lastModified: timeStampFromJson(json['LastModified']),
    schemaArn: json['SchemaArn'] as String?,
    schemaName: json['SchemaName'] as String?,
    schemaVersion: json['SchemaVersion'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    type: json['Type'] as String?,
    versionCreatedDate: timeStampFromJson(json['VersionCreatedDate']),
  );
}