JsonKeyMutate class

Used to annotate keys

Constructors

JsonKeyMutate({Object? defaultValue, bool? disallowNullValue, Function? fromJson, bool? ignore, bool? includeIfNull, String? name, bool? nullable, bool? required, Function? toJson, Object? unknownEnumValue})
JsonKeyMutate.fromJsonKeyParamaString(String theString)
factory

Properties

defaultValue Object?
getter/setter pair
disallowNullValue bool?
getter/setter pair
fromJson Function?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignore bool?
getter/setter pair
includeIfNull bool?
getter/setter pair
name String?
getter/setter pair
nullable bool?
getter/setter pair
required bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJson Function?
getter/setter pair
unknownEnumValue Object?
getter/setter pair

Methods

addKey({dynamic defaultValue, dynamic disallowNullValue, dynamic fromJson, dynamic ignore, dynamic includeIfNull, dynamic name, dynamic nullable, dynamic required, dynamic toJson, dynamic unknownEnumValue}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map
toString() String
A string representation of this object.
override

Operators

operator &(JsonKeyMutate jsonKey) JsonKeyMutate
operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getParameterString(String theString) String
writeParamIfnotNull(Map maps) String