BackgroundType class abstract
This object describes the type of a background.
Constructors
- BackgroundType()
-
Creates a new BackgroundType object from JSON.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BackgroundTypeType
-
Type of the background.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a BackgroundType to a Map for JSON encoding.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
Map< String, dynamic> json) → BackgroundType - Creates a new BackgroundType object. This method decides which BackgroundType subclass to use based on the type field.