omitWhenAbsent property
bool
get
omitWhenAbsent
Omit named arg when JSON key missing (non-null + Dart default).
Implementation
bool get omitWhenAbsent => hasConstructorDefault && !isNullable;
Omit named arg when JSON key missing (non-null + Dart default).
bool get omitWhenAbsent => hasConstructorDefault && !isNullable;