toJson method
Implementation
@override
Object toJson() {
return {
if (startIndex != null) 'startIndex': startIndex,
if (endIndex != null) 'endIndex': endIndex,
if (uri != null) 'uri': uri,
if (license != null) 'license': license,
};
}