FindUsersResponse constructor Null safety

FindUsersResponse(
  1. {int? total,
  2. List<FindUserResponse>? users,
  3. ResponseError? error}
)

Builds a FindUsersResponse

total: The total number of users returned users: The list of users error: An error if there was error while fetching the shaders

Implementation

FindUsersResponse({int? total, this.users, ResponseError? error})
    : total = total ?? users?.length ?? 0,
      super(error: error);