HatangUser constructor

const HatangUser({
  1. String? userId,
  2. String? email,
  3. String? name,
  4. String? phone,
  5. String? hash,
  6. Map<String, Object?>? data,
})

Creates a user; every field is optional but at least one should be set.

Implementation

const HatangUser({this.userId, this.email, this.name, this.phone, this.hash, this.data});