PlatformResponse class

Annotations

Constructors

PlatformResponse({required String platform, @JsonKey(name: 'version_forced') required String versionForced, @JsonKey(name: 'version_optional') required String versionOptional, @JsonKey(name: 'build_forced') required String buildForced, @JsonKey(name: 'build_optional') required String buildOptional, @JsonKey(name: 'use_version') required bool useVersion, @JsonKey(name: 'use_build') required bool useBuild})
const
factory
PlatformResponse.fromJson(Map<String, dynamic> json)
factory

Properties

buildForced String
no setterinherited
buildOptional String
no setterinherited
copyWith → $PlatformResponseCopyWith<PlatformResponse>
Create a copy of PlatformResponse with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
platform String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useBuild bool
no setterinherited
useVersion bool
no setterinherited
versionForced String
no setterinherited
versionOptional String
no setterinherited

Methods

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

Operators

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