listReleases method
Lists all releases.
Implementation
@override
Future<List<Release>> listReleases() async {
var body = await _getHttpPath(releasesFile);
if (body == null) return <Release>[];
var listStr = body.asString ?? '';
var list = listStr
.split(RegExp(r'[\r\n]+'))
.map((e) => e.trim())
.where((e) => e.isNotEmpty)
.toList();
var releases = list.map((e) => Release.parse(e)).toList();
return releases;
}