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