DeviceCodeResponse class

Annotations
  • @JsonSerializable()

Constructors

DeviceCodeResponse.new({required String deviceCode, required String userCode, required String verificationUri, required int interval, required int expiresIn})
const
DeviceCodeResponse.fromJson(Map<String, dynamic> json)
Converts a JSON map to a DeviceCodeResponse.
factory

Properties

deviceCode String
final
expiresIn int
final
hashCode int
The hash code for this object.
no setterinherited
interval int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userCode String
final
verificationUri String
final

Methods

copyWith({String? deviceCode, String? userCode, String? verificationUri, int? interval, int? expiresIn}) DeviceCodeResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this DeviceCodeResponse to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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