PlatformData class

Version information for a particular platform

Constructors

PlatformData.new({required String minVersion, required String latestVersion, required bool enabled, String? updateUrl})

Properties

enabled bool
Whether the app is enabled and is allowed to run
final
hashCode int
The hash code for this object.
no setterinherited
latestVersion String
The latest version
final
minVersion String
The minimum allowed version
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateUrl String?
The URL for update information (eg app store url)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromData(Map<String, dynamic> data) PlatformData