Dart Interface
Every Dart class has implicit interface and can also use
the interface
keyword to explicitly define an interface.
Example
// Similar to Java's interface
abstract interface class DecodeContext {
bool allowUnknownEnumValue();
void reportUnknownEnumValue(String value);
}