Config constructor
Config({
- bool useWellKnownWrappers = false,
- bool useWellKnownDuration = false,
- bool useWellKnownTimestamp = false,
- bool useProtoFieldNamingConventions = true,
- String packageName = '',
- List<
String> options = const [], - String prefix = 'G',
- String wellKnownDurationType = r'$Duration',
- String wellKnownTimestampType = r'$Timestamp',
- IntPrecision defaultIntPrecision = IntPrecision.int32,
- DecimalEncoding decimalEncoding = DecimalEncoding.binary,
- String outProtoPath = 'proto/model.proto',
Implementation
Config({
this.useWellKnownWrappers = false,
this.useWellKnownDuration = false,
this.useWellKnownTimestamp = false,
this.useProtoFieldNamingConventions = true,
this.packageName = '',
this.options = const [],
this.prefix = 'G',
this.wellKnownDurationType = r'$Duration',
this.wellKnownTimestampType = r'$Timestamp',
this.defaultIntPrecision = IntPrecision.int32,
this.decimalEncoding = DecimalEncoding.binary,
this.outProtoPath = 'proto/model.proto',
});