DescribeBillingGroupResponse.fromJson constructor

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

Implementation

factory DescribeBillingGroupResponse.fromJson(Map<String, dynamic> json) {
  return DescribeBillingGroupResponse(
    billingGroupArn: json['billingGroupArn'] as String?,
    billingGroupId: json['billingGroupId'] as String?,
    billingGroupMetadata: json['billingGroupMetadata'] != null
        ? BillingGroupMetadata.fromJson(
            json['billingGroupMetadata'] as Map<String, dynamic>)
        : null,
    billingGroupName: json['billingGroupName'] as String?,
    billingGroupProperties: json['billingGroupProperties'] != null
        ? BillingGroupProperties.fromJson(
            json['billingGroupProperties'] as Map<String, dynamic>)
        : null,
    version: json['version'] as int?,
  );
}