FieldOptions constructor
FieldOptions({
- FieldOptions_CType? ctype,
- bool? packed,
- bool? deprecated,
- bool? lazy,
- FieldOptions_JSType? jstype,
- bool? weak,
- 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.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 (uninterpretedOption != null) {
_result.uninterpretedOption.addAll(uninterpretedOption);
}
return _result;
}