discontinuedPackage class_fields has been discontinued.

Field class

The field of the class

Constructors

Field({required String name, required String? key})
{@template field}
const
Field.fromElement(FieldElement element)
gets the field from the FieldElement
factory

Properties

cleanName → String
the name of the field, removing all _
no setter
hashCode → int
The hash code for this object.
no setterinherited
key → String
the key of the field
final
name → String
the name of the field
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromElements(Iterable<FieldElement> elements) → Iterable<Field>
gets all the fields from the FieldElements