DescribePackagingGroupResponse.fromJson constructor

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

Implementation

factory DescribePackagingGroupResponse.fromJson(Map<String, dynamic> json) {
  return DescribePackagingGroupResponse(
    arn: json['arn'] as String?,
    authorization: json['authorization'] != null
        ? Authorization.fromJson(
            json['authorization'] as Map<String, dynamic>)
        : null,
    domainName: json['domainName'] as String?,
    id: json['id'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}