toMap method
Turns Release model into a map of values
Implementation
Map<String, dynamic> toMap() => {
'hash': hash,
'channel': channel.name,
'version': version,
'release_date': releaseDate.toIso8601String(),
'archive': archive,
'sha256': sha256,
'activeChannel': activeChannel,
};