PotDescription class

A class that describes the details of a Pot.

Annotations
  • @immutable

Constructors

PotDescription({required String identity, required bool? isPending, required bool isDisposed, required bool hasObject, required String object, required int? scope})
Creates a PotDescription that describes the details of a Pot.
const
PotDescription.fromMap(Map<String, Object?> map)
Creates a PotDescription from a Map.
factory
PotDescription.fromPot(Pot<Object?> pot)
Creates a PotDescription from a Pot.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hasObject bool
Whether an object has been created in the pot.
final
identity String
A summary of the runtime type and hash code of the pot.
final
isDisposed bool
Whether the pot has already been disposed.
final
isPending bool?
Whether the pot is in the state of pending.
final
object String
The object held in the pot.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope int?
The number of the scope the pot is bound to.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts a PotDescription to a Map.
toString() String
A string representation of this object.
override

Operators

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