TestDeprecatedFields constructor
TestDeprecatedFields({
- @Deprecated('This field is deprecated.') int? deprecatedInt32,
- @Deprecated('This field is deprecated.') int? deprecatedInt32InOneof,
Implementation
factory TestDeprecatedFields({
@$core.Deprecated('This field is deprecated.')
$core.int? deprecatedInt32,
@$core.Deprecated('This field is deprecated.')
$core.int? deprecatedInt32InOneof,
}) {
final _result = create();
if (deprecatedInt32 != null) {
// ignore: deprecated_member_use_from_same_package
_result.deprecatedInt32 = deprecatedInt32;
}
if (deprecatedInt32InOneof != null) {
// ignore: deprecated_member_use_from_same_package
_result.deprecatedInt32InOneof = deprecatedInt32InOneof;
}
return _result;
}