JsonKeyInfo class

Stores @JsonKey annotation information for a field

Constructors

JsonKeyInfo({String? name, bool? ignore, dynamic defaultValue, bool? required, bool? includeIfNull, bool? includeFromJson, bool? includeToJson, String? toJson, String? fromJson})

Properties

defaultValue → dynamic
final
fromJson String?
final
hashCode int
The hash code for this object.
no setterinherited
ignore bool?
final
includeFromJson bool?
final
includeIfNull bool?
final
includeToJson bool?
final
name String?
final
required bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJson String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAnnotationString() String
Returns the @JsonKey annotation string to be applied to a field
toString() String
A string representation of this object.
inherited

Operators

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