GigyaResponse.fromJson constructor

GigyaResponse.fromJson(
  1. dynamic json
)

Implementation

GigyaResponse.fromJson(dynamic json)
    : callId = json['callId']?.toString(),
      statusCode = json['statusCode'],
      errorCode = json['errorCode'],
      errorDetails = json['errorDetails'] != null
          ? json['errorDetails']
          : json['localizedMessage'] != null
              ? json['localizedMessage']
              : null,
      statusReason = json['statusReason'],
      apiVersion = json['apiVersion'],
      regToken = json['regToken'],
      mapped = json;