¿Qué es la interfaz en Dart?
//Dart has no interface keyword. Instead, all classes implicitly define an interface.
//Therefore, you can implement any class.
class MockSpaceship implements Spacecraft {
// ···
}
Fancy Fly