LoaderMetadataEntry class
Metadata descriptor for an explored loader component.
Constructors
-
LoaderMetadataEntry({required String id, required String name, required String description, required LoaderCategory category, LoaderComplexity complexity = LoaderComplexity.standard, bool hasParticles = false, bool hasPhysics = false, bool hasShaders = false, bool isInteractive = true, List<
String> supportedThemes = const ['deep_space', 'solar_flare'], List<String> supportedFeatures = const ['animation_speed', 'intensity', 'scale'], Map<String, dynamic> defaultParameters = const {}}) -
const
-
LoaderMetadataEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category → LoaderCategory
-
final
- complexity → LoaderComplexity
-
final
-
defaultParameters
→ Map<
String, dynamic> -
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParticles → bool
-
final
- hasPhysics → bool
-
final
- hasShaders → bool
-
final
- id → String
-
final
- isInteractive → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedFeatures
→ List<
String> -
final
-
supportedThemes
→ List<
String> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited