fromListOfResponse static method

List<UserModel> fromListOfResponse(
  1. List list
)

Implementation

static List<UserModel> fromListOfResponse(List<dynamic> list) {
  return list.map((e) => UserModel.fromJson(e)).toList();
}