LoginFlow.fromJson constructor
Implementation
LoginFlow.fromJson(Map<String, Object?> json)
: getLoginToken =
((v) => v != null ? v as bool : null)(json['get_login_token']),
type = json['type'] as String,
additionalProperties = Map.fromEntries(
json.entries
.where((e) => !['get_login_token', 'type'].contains(e.key))
.map((e) => MapEntry(e.key, e.value)),
);