UserModel.withData constructor
UserModel.withData({ - String? name = '',
- String? email,
- int? mobileNo,
- String? organizationId,
- String? organizationName = '',
- int? age,
- String? documentId,
- bool delete = false,
- DateTime? autoModifiedTimeStamp,
- String? createdBy,
- DateTime? createdOn,
- String? deviceId,
- String? deviceName,
- String? doctorId,
- List? amcLog = const [],
- dynamic amcPayment,
- String? amcStartDate,
- String? amcValidity,
- String? appVersion,
- Map<String, dynamic>? associations,
- Map<String, dynamic>? bulletin,
- String? deviceCode,
- bool? isActive,
- String? lastSeenTime,
- DateTime? modifiedAt,
- String? modifiedTimeStamp,
- int? noOfMother = 0,
- int? noOfTests = 0,
- String? notificationToken,
- int? sync,
- bool? testAccount,
- String? type,
- String? uid,
- double? weight,
- String? patientId,
- String? platformId,
- String? platformRegAt,
- Map<String, dynamic>? babyBeatAssociation,
- String? organizationNameBabyBeat,
})
Implementation
UserModel.withData({
this.name = '',
this.email,
this.mobileNo,
this.organizationId,
this.organizationName = '',
this.age,
this.documentId,
this.delete = false,
this.autoModifiedTimeStamp,
this.createdBy,
this.createdOn,
this.deviceId,
this.deviceName,
this.doctorId,
this.amcLog = const [],
this.amcPayment,
this.amcStartDate,
this.amcValidity,
this.appVersion,
this.associations,
this.bulletin,
this.deviceCode,
this.isActive,
this.lastSeenTime,
this.modifiedAt,
this.modifiedTimeStamp,
this.noOfMother = 0,
this.noOfTests = 0,
this.notificationToken,
this.sync,
this.testAccount,
this.type,
this.uid,
this.weight,
this.patientId,
this.platformId,
this.platformRegAt,
this.babyBeatAssociation,
this.organizationNameBabyBeat,
});