User constructor

const User({
  1. String? id,
  2. Map<String, Object?>? data,
  3. DateTime? createdAt,
  4. DateTime? updatedAt,
  5. int? followersCount,
  6. int? followingCount,
})

Builds a User.

Implementation

const User({
  this.id,
  this.data,
  this.createdAt,
  this.updatedAt,
  this.followersCount,
  this.followingCount,
});