User constructor Null safety

User(
  1. {required String id,
  2. required String name,
  3. bool? isMerchant}
)

Implementation

User({
  required this.id,
  required this.name,
  this.isMerchant,
});