CrystallisData constructor
const
CrystallisData({})
Annotation to configure data class behavior.
Allows specifying whether the generated data class is mutable.
Implementation
const CrystallisData({
this.mutable = true,
// these are being redirected due to shorter naming
bool toString = true,
bool equals = true,
bool hashCode = true,
this.useDeepEquality = false,
bool copyWith = true,
this.useDeepCopy = false,
bool deserialize = true,
/// (see [config])
Crystallis? config,
}) : enableToString = toString,
enableEquals = equals,
enableHashCode = hashCode,
enableCopyWith = copyWith,
enableDeserialize = deserialize,
_config = config;