CreateSchemaResponse.fromJson constructor

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

Implementation

factory CreateSchemaResponse.fromJson(Map<String, dynamic> json) {
  return CreateSchemaResponse(
    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']),
  );
}