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