An interface defines the syntax that any entity must adhere to . Interfaces define a set of methods available on an object. Dart does not have a syntax for declaring interfaces. Class declarations are themselves interfaces in Dart. Classes should use the implements keyword to be able to use an interface.
Read moreIs there an interface in Dart?
Dart has no interface keyword . Instead, all classes implicitly define an interface. Therefore, you can implement any class.
Read more