FieldMirror<T> class

Information about a field.

Use InstanceMirror for access to fields of an instance.

Inheritance
Mixed in types

Constructors

FieldMirror({required String name, required String jsonName, required Kind kind, required T defaultValue, List<Trait> traits = const []})
const

Properties

defaultValue → T
Default value.
final
hashCode int
The hash code for this object.
no setteroverride
jsonName String
JSON name.
final
kind Kind
Kind of the field.
final
name String
Name of the field.
final
runtimeKind Kind<Object>
Kind of this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
traits List<Trait>
Tags of the field.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
walk(Mapper f) FieldMirror<T>
Copies this instance, mapping each field with f.
override

Operators

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