I want to convert following
Future<UserDetl> f = AppDatabase().userById('55e62a90-273c-11ea-9441-f75d5cd0114b');
into List<UserDetl> lstUser
class UserDetl {
String userId;
String userName;
String userPlace;
String userUrl;
UserDetl(this.userId,this.userName, this.userPlace, this.userUrl);
}
and I wanna get username from the list
String user = lstUser[0].userName;
>
– Ashique bzq Dec 26 '19 at 09:02