ProjectLayerModel class
Part of config.json
.
Constructors
-
ProjectLayerModel.new(String name, Directory directory, double probability, Map<
String, int> weights) - Constructor.
- ProjectLayerModel.empty()
Properties
- directory ↔ Directory
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- probability ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weights
↔ Map<
String, int> -
getter/setter pair
Methods
-
isEmpty(
) → bool -
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
Static Methods
-
fromJson(
Map< String, dynamic> projectLayer) → ProjectLayerModel