User constructor

User({
  1. String? userId,
  2. String? userName,
  3. String language = "en",
  4. String? country,
  5. bool supervisor = false,
  6. String? cert,
  7. String? profAss,
  8. required TermsAndConditions termsAndConditions,
  9. required Consent consent,
  10. required Device deviceOwner,
  11. List<Device>? pairedDevices,
  12. ShareInfo? shareInfo,
  13. Mse? mse,
})

Implementation

User(
    {this.userId,
    this.userName,
    this.language: "en",
    this.country,
    this.supervisor: false,
    this.cert,
    this.profAss,
    required this.termsAndConditions,
    required this.consent,
    required this.deviceOwner,
    this.pairedDevices,
    this.shareInfo,
    this.mse});