ProxyTGetWalletKitConfigResponse.fromJson constructor
ProxyTGetWalletKitConfigResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProxyTGetWalletKitConfigResponse.fromJson(Map<String, dynamic> json) {
final _enabledProviders = (json['enabledProviders'] as List).map((e) => e as String).toList();
final _sessionExpirationSeconds = json['sessionExpirationSeconds'] as String;
final _organizationId = json['organizationId'] as String;
final _oauthClientIds = json['oauthClientIds'] as Map<String, dynamic>?;
final _oauthRedirectUrl = json['oauthRedirectUrl'] as String?;
final _otpAlphanumeric = json['otpAlphanumeric'] as bool?;
final _otpLength = json['otpLength'] as String?;
return ProxyTGetWalletKitConfigResponse(
enabledProviders: _enabledProviders,
sessionExpirationSeconds: _sessionExpirationSeconds,
organizationId: _organizationId,
oauthClientIds: _oauthClientIds,
oauthRedirectUrl: _oauthRedirectUrl,
otpAlphanumeric: _otpAlphanumeric,
otpLength: _otpLength,
);
}