list property

List<UserModel> get list

custom getters to access user's list and object

Implementation

List<UserModel> get list => userData;