Config class

Annotations
  • @JsonSerializable(checked: true, disallowUnrecognizedKeys: true)

Constructors

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'})
Config.fromJson(Map<String, dynamic> json)
factory

Properties

decimalEncoding DecimalEncoding
final
defaultIntPrecision IntPrecision
final
hashCode int
The hash code for this object.
no setterinherited
options List<String>
final
outProtoPath String
final
packageName String
final
prefix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useProtoFieldNamingConventions bool
final
useWellKnownDuration bool
final
useWellKnownTimestamp bool
final
useWellKnownWrappers bool
final
wellKnownDurationType String
final
wellKnownTimestampType String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited