name property

String name

Get the name of the result. Used for encoding/decoding.

Implementation

String get name {
  switch (this) {
    case MigrationResult.successful:
      return "successful";
    case MigrationResult.failed:
      return "failed";
    case MigrationResult.skipped:
      return "skipped";
  }
}