//Dart has no interface keyword. Instead, all classes implicitly define an interface. Therefore, you can implement any class.
class MockSpaceship implements Spacecraft {
// ···
}
//Dart has no interface keyword. Instead, all classes implicitly define an interface.
//Therefore, you can implement any class.
class MockSpaceship implements Spacecraft {
// ···
}