TransitGatewayRegistrationStateReason.fromJson constructor

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

Implementation

factory TransitGatewayRegistrationStateReason.fromJson(
    Map<String, dynamic> json) {
  return TransitGatewayRegistrationStateReason(
    code: (json['Code'] as String?)?.toTransitGatewayRegistrationState(),
    message: json['Message'] as String?,
  );
}