addKey method
void
addKey({
- dynamic defaultValue,
- dynamic disallowNullValue,
- dynamic fromJson,
- dynamic ignore,
- dynamic includeIfNull,
- dynamic name,
- dynamic nullable,
- dynamic required,
- dynamic toJson,
- dynamic unknownEnumValue,
Implementation
void addKey({
defaultValue,
disallowNullValue,
fromJson,
ignore,
includeIfNull,
name,
nullable,
required,
toJson,
unknownEnumValue,
}) {
this.defaultValue = defaultValue ?? this.defaultValue;
this.disallowNullValue = disallowNullValue ?? this.disallowNullValue;
this.fromJson = fromJson ?? this.fromJson;
this.ignore = ignore ?? this.ignore;
this.includeIfNull = includeIfNull ?? this.includeIfNull;
this.name = name ?? this.name;
this.nullable = nullable ?? this.nullable;
this.required = required ?? this.required;
this.toJson = toJson ?? this.toJson;
this.unknownEnumValue = unknownEnumValue ?? this.unknownEnumValue;
}