SDNDIDLoginResponse.fromJson constructor

SDNDIDLoginResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

SDNDIDLoginResponse.fromJson(Map<String, Object?> json)
    : access_token = json['access_token'] as String,
      user_id = json['user_id'] as String,
      device_id = json['device_id'] as String,
      error = (json['error'] ?? "") as String,
      errorcode = (json['errorcode'] ?? "") as String;