GetGatewayResponse.fromJson constructor

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

Implementation

factory GetGatewayResponse.fromJson(Map<String, dynamic> json) {
  return GetGatewayResponse(
    gateway: json['Gateway'] != null
        ? Gateway.fromJson(json['Gateway'] as Map<String, dynamic>)
        : null,
  );
}