PassageAppInfo.fromMap constructor
PassageAppInfo.fromMap(
- Map<String, dynamic> map
)
Implementation
PassageAppInfo.fromMap(Map<String, dynamic> map)
: allowedIdentifier =
map['allowedIdentifier'] ?? map['allowed_identifier'],
authOrigin = map['authOrigin'] ?? map['auth_origin'],
id = map['id'],
name = map['name'],
publicSignup = map['publicSignup'] ?? map['public_signup'],
redirectUrl = map['redirectUrl'] ?? map['redirect_url'],
requiredIdentifier =
map['requiredIdentifier'] ?? map['required_identifier'],
requireIdentifierVerification = map['requireIdentifierVerification'] ??
map['require_identifier_verification'],
sessionTimeoutLength =
map['sessionTimeoutLength'] ?? map['session_timeout_length'],
userMetadataSchema = getMetadataSchema(map['userMetadataSchema'] ??
map['user_metadata_schema'] as List<dynamic>),
authMethods = getAuthMethods(map['authMethods'] ?? map['auth_methods']);