FieldDefinition class

Constructors

FieldDefinition({int id = 0, int size = 0, BaseType type = BaseType.ENUM})
Defines a field definition used in a definition message.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
final
type BaseType
final

Methods

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

Operators

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

Static Methods

fromBytes(Uint8List bytes) FieldDefinition
fromField(Field field, {int minStringSize = 0}) FieldDefinition

Constants

fieldDefinitionSize → const int