GRPCAction.fromJson constructor
Creates a GRPCAction from JSON data.
Implementation
factory GRPCAction.fromJson(Map<String, dynamic> json) {
final tempPortJson = json['port'];
final tempServiceJson = json['service'];
final int tempPort = tempPortJson;
final String? tempService = tempServiceJson;
return GRPCAction(
port: tempPort,
service: tempService,
);
}