DefinitionInformation.fromJson constructor

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

Implementation

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