MigrationWarning constructor
MigrationWarning({
- MigrationWarning_WarningCode? code,
- LocalizedMessage? warningMessage,
- LocalizedMessage? actionItem,
- Iterable<
Help_Link> ? helpLinks, - 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;
}