GetAnnotationSpecRequest.fromJson constructor
GetAnnotationSpecRequest.fromJson(
- Object? j
Implementation
factory GetAnnotationSpecRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetAnnotationSpecRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
readMask: switch (json['readMask']) {
null => null,
Object $1 => protobuf.FieldMask.fromJson($1),
},
);
}