FlutterReleases class

Flutter Releases

Constructors

FlutterReleases({required String baseUrl, required Channels channels, required List<Release> releases})
Constructor
FlutterReleases.fromJson(String json)
Creates a FlutterRelease from a json string
factory
FlutterReleases.fromMap(Map<String, dynamic> json)
Create FlutterRelease from a map of values
factory

Properties

baseUrl String
Base url for Flutter /// Channels in Flutter releases
final
channels Channels
Channels in Flutter releases
final
hashCode int
The hash code for this object.
no setterinherited
releases List<Release>
LIst of all releases
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

containsVersion(String version) bool
Checks if version is a release
getChannelFromVersion(String version) String?
Get channel of release
getReleaseFromVersion(String version) Release?
Retrieves version information
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Return map of model
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited