AssociatedGateway.fromJson constructor

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

Implementation

factory AssociatedGateway.fromJson(Map<String, dynamic> json) {
  return AssociatedGateway(
    id: json['id'] as String?,
    ownerAccount: json['ownerAccount'] as String?,
    region: json['region'] as String?,
    type: (json['type'] as String?)?.toGatewayType(),
  );
}