SchemaModel class
- Available extensions
- Annotations
Constructors
-
SchemaModel({int id = 1, bool enabled = true, List<
int> samples = const <int>[1, 2]}) -
const
Properties
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ List<
int> -
final
- to → ArtifactModelExporter
-
Available on SchemaModel, provided by the $SchemaModel extension
no setter
Methods
-
copyWith(
{int? id, bool resetId = _F, int? deltaId, bool? enabled, bool resetEnabled = _F, List< int> ? samples, bool resetSamples = _F, List<int> ? appendSamples, List<int> ? removeSamples}) → SchemaModel -
Available on SchemaModel, provided by the $SchemaModel extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Available on SchemaModel, provided by the $SchemaModel extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited