MigrationWarning constructor

MigrationWarning({
  1. MigrationWarning_WarningCode? code,
  2. LocalizedMessage? warningMessage,
  3. LocalizedMessage? actionItem,
  4. Iterable<Help_Link>? helpLinks,
  5. Timestamp? warningTime,
})

Implementation

factory MigrationWarning({
  MigrationWarning_WarningCode? code,
  $31.LocalizedMessage? warningMessage,
  $31.LocalizedMessage? actionItem,
  $core.Iterable<$31.Help_Link>? helpLinks,
  $2.Timestamp? warningTime,
}) {
  final $result = create();
  if (code != null) {
    $result.code = code;
  }
  if (warningMessage != null) {
    $result.warningMessage = warningMessage;
  }
  if (actionItem != null) {
    $result.actionItem = actionItem;
  }
  if (helpLinks != null) {
    $result.helpLinks.addAll(helpLinks);
  }
  if (warningTime != null) {
    $result.warningTime = warningTime;
  }
  return $result;
}