Migration class
Migration
- Implemented types
Constructors
-
Migration({required String $id, required String $createdAt, required String $updatedAt, required String status, required String stage, required String source, required String destination, required List<
String> resources, required String resourceId, required String resourceInternalId, required String resourceType, required String parentResourceId, required String parentResourceInternalId, required String parentResourceType, required String destinationResourceId, required String destinationResourceInternalId, required String destinationResourceType, required Map<String, dynamic> statusCounters, required List<Map> resourceData, required List<String> errors, required Map<String, dynamic> options}) -
Migration.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Migration creation date in ISO 8601 format.
final
- $id → String
-
Migration ID.
final
- $updatedAt → String
-
Variable creation date in ISO 8601 format.
final
- destination → String
-
A string containing the type of destination of the migration.
final
- destinationResourceId → String
-
ID of the destination resource created or overwritten by the migration.
final
- destinationResourceInternalId → String
-
Internal ID of the destination resource created or overwritten by the migration.
final
- destinationResourceType → String
-
Type of the destination resource created or overwritten by the migration.
final
-
errors
→ List<
String> -
All errors that occurred during the migration process.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
→ Map<
String, dynamic> -
Migration options used during the migration process.
final
- parentResourceId → String
-
ID of the parent resource that contains the migrated resource.
final
- parentResourceInternalId → String
-
Internal ID of the parent resource that contains the migrated resource.
final
- parentResourceType → String
-
Type of the parent resource that contains the migrated resource.
final
-
resourceData
→ List<
Map> -
An array of objects containing the report data of the resources that were migrated.
final
- resourceId → String
-
ID of the resource being migrated.
final
- resourceInternalId → String
-
Internal ID of the resource being migrated.
final
-
resources
→ List<
String> -
Resources to migrate.
final
- resourceType → String
-
Type of the resource being migrated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
A string containing the type of source of the migration.
final
- stage → String
-
Migration stage ( init, processing, source-check, destination-check, migrating, finished )
final
- status → String
-
Migration status ( pending, processing, failed, completed )
final
-
statusCounters
→ Map<
String, dynamic> -
A group of counters that represent the total progress of the migration.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited