Probe_GrpcAction.fromJson constructor
Probe_GrpcAction.fromJson(
- Object? j
Implementation
factory Probe_GrpcAction.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Probe_GrpcAction(
port: switch (json['port']) {
null => 0,
Object $1 => decodeInt($1),
},
service: switch (json['service']) {
null => '',
Object $1 => decodeString($1),
},
);
}