VirtualGatewayStatus.fromJson constructor

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

Implementation

factory VirtualGatewayStatus.fromJson(Map<String, dynamic> json) {
  return VirtualGatewayStatus(
    status: (json['status'] as String).toVirtualGatewayStatusCode(),
  );
}