UpdatePermissionRequest.fromJson constructor
UpdatePermissionRequest.fromJson(
- Object? j
Implementation
factory UpdatePermissionRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return UpdatePermissionRequest(
permission: switch (json['permission']) {
null => null,
Object $1 => Permission.fromJson($1),
},
updateMask: switch (json['updateMask']) {
null => null,
Object $1 => FieldMask.fromJson($1),
},
);
}