FlutterReleasesResponse class
Flutter Releases
- Mixed in types
- Annotations
-
- @MappableClass()
Constructors
-
FlutterReleasesResponse({required String baseUrl, required Channels channels, required List<
FlutterSdkRelease> versions, required Map<String, FlutterSdkRelease> versionReleaseMap}) -
const
- FlutterReleasesResponse.fromJson(String json)
-
Creates a FlutterRelease from a
json
stringfactory -
FlutterReleasesResponse.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
-
copyWith
→ FlutterReleasesResponseCopyWith<
FlutterReleasesResponse, FlutterReleasesResponse, FlutterReleasesResponse> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
versions
→ List<
FlutterSdkRelease> -
LIst of all releases
final
Methods
-
containsVersion(
String version) → bool - Checks if version is a release
-
getLatestChannelRelease(
String channelName) → FlutterSdkRelease -
Returns a
FlutterVersion
release from channelversion
-
getReleaseFromVersion(
String version) → FlutterSdkRelease? - Retrieves version information
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited