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;
}