FreezedMapOptions class

Options for enabling/disabling specific Union.map features;

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, createToJson: false, anyMap: true)

Constructors

FreezedMapOptions({bool? map, bool? mapOrNull, bool? maybeMap})
Options for enabling/disabling specific Union.map features;
const
FreezedMapOptions.fromJson(Map json)
Decode a FreezedMapOptions from a build.yaml
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
map bool?
Whether to generate Union.map
final
mapOrNull bool?
Whether to generate Union.mapOrNull
final
maybeMap bool?
Whether to generate Union.maybeMap
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

all → const FreezedMapOptions
Enables the generation of all Union.map features
none → const FreezedMapOptions
Disables the generation of all Union.map features