Property class

A property which is set when a new instance is created

Annotations
  • @immutable

Constructors

Property({required String key, required BaseInstance instance})
const
Property.double({required String key, required double value})
Property.string({required String key, required String value})

Properties

hashCode int
The hash code for this object.
no setteroverride
instance BaseInstance
final
key String
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
toCode() String
toString() String
A string representation of this object.
override

Operators

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