User constructor

const User({
  1. required String email,
  2. required String name,
  3. required String userId,
  4. Map<String, dynamic>? data,
})

Implementation

const User({
  required this.email,
  required this.name,
  required this.userId,
  this.data,
});