JSONProperty class

@internal

Inheritance
Implementers

Constructors

JSONProperty({required String name, required Type type, Function? containerConstructor, required bool includeNull, Object? defaultValue = JSONProperty})

Properties

containerConstructor Function?
getter/setter pair
defaultValue Object?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeNull bool
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
final

Methods

get(dynamic instance, MappingContext context) → dynamic
Read a property value given an instance
override
getType() Type
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(dynamic instance, dynamic value, MappingContext context) → void
Write a property value given an instance
override
toString() String
A string representation of this object.
inherited
validate(dynamic value) → void
inherited

Operators

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