toMap method

Map<String, dynamic> toMap()

Converts the LicenseObject to a map.

Implementation

Map<String, dynamic> toMap() {
  return {'name': name, if (url != null) 'url': url};
}