UserListResponse.fromJson constructor

UserListResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserListResponse.fromJson(Map<String, dynamic> json) {
  return UserListResponse(
    data: json['data'] != null
        ? List<Map<String, dynamic>>.from(json['data'])
        : [],
    nextCursor: json['nextCursor'],
  );
}