AssetReferenceReference class

A class to hold an AssetReference, as well as other meta data required to generate Dart code.

Annotations
  • @JsonSerializable()

Constructors

AssetReferenceReference({required String variableName, required AssetReference reference, String? comment})
Create an instance.
const
AssetReferenceReference.fromJson(Map<String, dynamic> json)
Create an instance from a JSON object.
factory

Properties

comment String?
The comment to write above the variable declaration.
final
hashCode int
The hash code for this object.
no setterinherited
reference AssetReference
The asset reference to use.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variableName String
The name of the resulting variable.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert an instance to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited