PartialArg.fromJson constructor
PartialArg.fromJson(
- Object? j
Implementation
factory PartialArg.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return PartialArg(
nullValue: switch (json['nullValue']) {
null => null,
Object $1 => protobuf.NullValue.fromJson($1),
},
numberValue: switch (json['numberValue']) {
null => null,
Object $1 => decodeDouble($1),
},
stringValue: switch (json['stringValue']) {
null => null,
Object $1 => decodeString($1),
},
boolValue: switch (json['boolValue']) {
null => null,
Object $1 => decodeBool($1),
},
jsonPath: switch (json['jsonPath']) {
null => '',
Object $1 => decodeString($1),
},
willContinue: switch (json['willContinue']) {
null => false,
Object $1 => decodeBool($1),
},
);
}