core.Map<core.String, core.dynamic> toJson() => { if (fields != null) 'fields': fields!, if (objectId != null) 'objectId': objectId!, if (shapeProperties != null) 'shapeProperties': shapeProperties!, };