Watchers constructor

Watchers({
  1. bool? isWatching,
  2. String? self,
  3. int? watchCount,
  4. List<UserDetails>? watchers,
})

Implementation

Watchers(
    {bool? isWatching,
    this.self,
    this.watchCount,
    List<UserDetails>? watchers})
    : isWatching = isWatching ?? false,
      watchers = watchers ?? [];