Что такое интерфейс в 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