fromBackpack<T> method
T?
fromBackpack<T>({
- dynamic defaultValue,
Read a value from the Backpack instance.
Implementation
T? fromBackpack<T>({dynamic defaultValue}) {
return Backpack.instance.read<T>(this, defaultValue: defaultValue);
}