StartDeviceAuthorizationResponse.fromJson constructor

StartDeviceAuthorizationResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StartDeviceAuthorizationResponse.fromJson(Map<String, dynamic> json) {
  return StartDeviceAuthorizationResponse(
    deviceCode: json['deviceCode'] as String?,
    expiresIn: json['expiresIn'] as int?,
    interval: json['interval'] as int?,
    userCode: json['userCode'] as String?,
    verificationUri: json['verificationUri'] as String?,
    verificationUriComplete: json['verificationUriComplete'] as String?,
  );
}