An interface that defines an object that can be initialized.
An object that implements this interface is expected to provide a method that initializes its resources, such as initializing a database connection or opening a file reader. The initialize method is automatically called when the object is created, allowing the resources to be initialized and ready for use.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initialize(
) → Future< void> -
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