MfaChallenge.fromMap constructor
Implementation
factory MfaChallenge.fromMap(
Map<String, dynamic> map,
) {
map = {
'\$id': "",
'\$createdAt': "",
'userId': "",
'expire': "",
...map,
};
return MfaChallenge(
$id: map['\$id'].toString(),
$createdAt: map['\$createdAt'].toString(),
userId: map['userId'].toString(),
expire: map['expire'].toString(),
);
}