VergatePlatformConfig class

Version rules and store link for a single platform.

Constructors

VergatePlatformConfig({AppVersion? minVersion, AppVersion? latestVersion, String? storeUrl})
Creates a platform configuration.
const
VergatePlatformConfig.fromJson(Map<String, dynamic> json)
Creates a configuration from a decoded JSON map.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
latestVersion → AppVersion?
The newest published version. Older versions get an optional update.
final
minVersion → AppVersion?
The lowest version allowed to run. Older versions get a forced update.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storeUrl → String?
Store page opened when the user taps the update button.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this configuration back to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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