GeneralText constructor

GeneralText({
  1. String? missingPasswordTitle,
  2. String? missingPasswordDetails,
  3. String? missingEmailTitle,
  4. String? missingEmailDetails,
  5. String? createdBy,
  6. String? passwordHint,
  7. String? emailHint,
  8. String? errorTitle,
  9. String? errorDescription,
  10. String? noWifiTitle,
  11. String? noWifiDescription,
})

Implementation

factory GeneralText({
  $core.String? missingPasswordTitle,
  $core.String? missingPasswordDetails,
  $core.String? missingEmailTitle,
  $core.String? missingEmailDetails,
  $core.String? createdBy,
  $core.String? passwordHint,
  $core.String? emailHint,
  $core.String? errorTitle,
  $core.String? errorDescription,
  $core.String? noWifiTitle,
  $core.String? noWifiDescription,
}) {
  final _result = create();
  if (missingPasswordTitle != null) {
    _result.missingPasswordTitle = missingPasswordTitle;
  }
  if (missingPasswordDetails != null) {
    _result.missingPasswordDetails = missingPasswordDetails;
  }
  if (missingEmailTitle != null) {
    _result.missingEmailTitle = missingEmailTitle;
  }
  if (missingEmailDetails != null) {
    _result.missingEmailDetails = missingEmailDetails;
  }
  if (createdBy != null) {
    _result.createdBy = createdBy;
  }
  if (passwordHint != null) {
    _result.passwordHint = passwordHint;
  }
  if (emailHint != null) {
    _result.emailHint = emailHint;
  }
  if (errorTitle != null) {
    _result.errorTitle = errorTitle;
  }
  if (errorDescription != null) {
    _result.errorDescription = errorDescription;
  }
  if (noWifiTitle != null) {
    _result.noWifiTitle = noWifiTitle;
  }
  if (noWifiDescription != null) {
    _result.noWifiDescription = noWifiDescription;
  }
  return _result;
}