SampleDataStatus class final
Constructors
-
SampleDataStatus({required String environment, required SampleDataStatusState state, String? commit, String? appliedAt, required List<
SampleDataStatusSample> sample, List<String> ? recordIds, required int edited, required int deleted, SampleDataStatusBuilder? builder, required List<String> problems}) -
const
-
SampleDataStatus.fromJson(Map<
String, Object?> json) -
factory
Properties
- appliedAt → String?
-
final
- builder → SampleDataStatusBuilder?
-
final
- commit → String?
-
final
- deleted → int
-
Sample records someone deleted; applying the seed again does not bring them back.
final
- edited → int
-
Sample records someone changed; they are theirs now and clearing keeps them.
final
- environment → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
problems
→ List<
String> -
Seed rows the last apply skipped, and why.
final
-
recordIds
→ List<
String> ? -
The ids of the sample records counted in sample: the rows the seed still owns. Present when state is on.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sample
→ List<
SampleDataStatusSample> -
Sample records the environment holds now, per model (edited ones excluded).
final
- state → SampleDataStatusState
-
none: the environment never received sample data; on: it holds it; cleared: the builder removed it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited