toMap method
Converts the LicenseObject to a map.
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
if (url != null) 'url': url,
if (identifier != null) 'identifier': identifier,
};
}
Converts the LicenseObject to a map.
Map<String, dynamic> toMap() {
return {
'name': name,
if (url != null) 'url': url,
if (identifier != null) 'identifier': identifier,
};
}