ThreatNode class
Grant access to methods relating threat.
@param storageControllerConstructors
- ThreatNode(StorageController _storageController)
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
-
getThreats(
{String language = "en"}) → Future< List< Threat> > - @param optional language as string @return list of threats from localStorage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setGlobalThreatsNode(
{Locale? language, required List< Threat> threats}) → Future<void> - set all threat in Global:threats node
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited