toJson method
Serializes this release source to JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'type': 'github',
'owner': owner,
'repository': repository,
'tag': tag,
if (baseUri != null) 'base_uri': baseUri.toString(),
};