AuthorizationData.fromJson constructor

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

Implementation

factory AuthorizationData.fromJson(Map<String, dynamic> json) {
  return AuthorizationData(
    authorizationToken: json['authorizationToken'] as String?,
    expiresAt: timeStampFromJson(json['expiresAt']),
    proxyEndpoint: json['proxyEndpoint'] as String?,
  );
}