GetCoreDefinitionResponse.fromJson constructor

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

Implementation

factory GetCoreDefinitionResponse.fromJson(Map<String, dynamic> json) {
  return GetCoreDefinitionResponse(
    arn: json['Arn'] as String?,
    creationTimestamp: json['CreationTimestamp'] as String?,
    id: json['Id'] as String?,
    lastUpdatedTimestamp: json['LastUpdatedTimestamp'] as String?,
    latestVersion: json['LatestVersion'] as String?,
    latestVersionArn: json['LatestVersionArn'] as String?,
    name: json['Name'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}