IntUtility<T extends Attribute> class

A utility class for creating Attribute instances from int values.

This class extends ScalarUtility and provides methods to create Attribute instances from predefined int values or custom int values.

Inheritance

Constructors

IntUtility(T builder(int))
const

Properties

builder → T Function(int)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(int value) → T
Creates an Attribute instance from a custom int value.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
zero() → T
Creates an Attribute instance with a value of 0.

Operators

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