CommunicationSettings constructor

CommunicationSettings({
  1. @JsonKey(name: 'profileID') String? profileID,
  2. @JsonKey(name: 'allowWhatsApp') bool? allowWhatsApp,
  3. @JsonKey(name: 'allowTextSMS') bool? allowText,
  4. @JsonKey(name: 'allowPush') bool? allowPush,
  5. @JsonKey(name: 'allowEmail') bool? allowEmail,
})

Implementation

factory CommunicationSettings({
  @JsonKey(name: 'profileID') String? profileID,
  @JsonKey(name: 'allowWhatsApp') bool? allowWhatsApp,
  @JsonKey(name: 'allowTextSMS') bool? allowText,
  @JsonKey(name: 'allowPush') bool? allowPush,
  @JsonKey(name: 'allowEmail') bool? allowEmail,
}) = _CommunicationSettings;