VersionResponseFields class

Configuration for parsing the version check JSON response. Allows customization of field names for different backend implementations.

Constructors

VersionResponseFields({String version = 'version', String build = 'build', String apkUrl = 'apk', String? versionString, String? releaseNotes, String? minVersion, String? isRequired})
const

Properties

apkUrl String
Field name for APK download URL
final
build String
Field name for build number (e.g., 42)
final
hashCode int
The hash code for this object.
no setterinherited
isRequired String?
Field name for whether update is required (optional)
final
minVersion String?
Field name for minimum supported version (optional, for force update)
final
releaseNotes String?
Field name for release notes (optional)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
Field name for version string (e.g., "1.2.3")
final
versionString String?
Field name for display version string (optional, falls back to version)
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