TransitGatewayRegistration.fromJson constructor
Implementation
factory TransitGatewayRegistration.fromJson(Map<String, dynamic> json) {
return TransitGatewayRegistration(
globalNetworkId: json['GlobalNetworkId'] as String?,
state: json['State'] != null
? TransitGatewayRegistrationStateReason.fromJson(
json['State'] as Map<String, dynamic>)
: null,
transitGatewayArn: json['TransitGatewayArn'] as String?,
);
}