FieldOptions constructor
FieldOptions({
- FieldOptions_CType? ctype,
- bool? packed,
- bool? deprecated,
- bool? lazy,
- FieldOptions_JSType? jstype,
- bool? weak,
- bool? unverifiedLazy,
- Iterable<
UninterpretedOption> ? uninterpretedOption,
Implementation
factory FieldOptions({
FieldOptions_CType? ctype,
$core.bool? packed,
$core.bool? deprecated,
$core.bool? lazy,
FieldOptions_JSType? jstype,
$core.bool? weak,
$core.bool? unverifiedLazy,
$core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
final _result = create();
if (ctype != null) {
_result.ctype = ctype;
}
if (packed != null) {
_result.packed = packed;
}
if (deprecated != null) {
_result.deprecated = deprecated;
}
if (lazy != null) {
_result.lazy = lazy;
}
if (jstype != null) {
_result.jstype = jstype;
}
if (weak != null) {
_result.weak = weak;
}
if (unverifiedLazy != null) {
_result.unverifiedLazy = unverifiedLazy;
}
if (uninterpretedOption != null) {
_result.uninterpretedOption.addAll(uninterpretedOption);
}
return _result;
}