Connection.fromJson constructor
Connection.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Connection.fromJson(Map<String, dynamic> json) {
return Connection(
connectionArn: json['ConnectionArn'] as String?,
connectionName: json['ConnectionName'] as String?,
connectionStatus:
(json['ConnectionStatus'] as String?)?.toConnectionStatus(),
hostArn: json['HostArn'] as String?,
ownerAccountId: json['OwnerAccountId'] as String?,
providerType: (json['ProviderType'] as String?)?.toProviderType(),
);
}