MigrationException constructor
MigrationException({
- Object? e,
- DatumExceptionCode code = DatumExceptionCode.migrationError,
- required String message,
- StackTrace? stackTrace,
Implementation
MigrationException({
this.e,
super.code = DatumExceptionCode.migrationError,
required super.message,
this.stackTrace,
}) : super(details: {
if (e != null) 'e': e.toString(),
if (stackTrace != null) 'stackTrace': stackTrace.toString(),
});