BehaviorScriptMetadata class
The behavior script's metadata.
Constructors
- BehaviorScriptMetadata({required String name, required String category})
- Creates a BehaviorScriptMetadata object.
- BehaviorScriptMetadata.empty()
- Creates an empty BehaviorScriptMetadata object.
-
BehaviorScriptMetadata.fromJson(Map<
String, dynamic> dataMap) -
Creates a BehaviorScriptMetadata object from the JSON response to a GET
request.
factory
Properties
Methods
-
copyWith(
{String? name, String? category, bool copyOriginalValues = true}) → BehaviorScriptMetadata - Returns a copy of this object with its field values replaced by the ones provided to this method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshOriginals(
) → void - Called after a successful PUT request, this method refreshed the "original" data in this object.
-
toJson(
{OptimizeFor optimizeFor = OptimizeFor.put}) → Map< String, dynamic> - Converts this object into JSON format.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override