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