Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

what is interface in dart

//Dart has no interface keyword. Instead, all classes implicitly define an interface.
//Therefore, you can implement any class.

class MockSpaceship implements Spacecraft {
  // ···
}
Source by dart.dev #
 
PREVIOUS NEXT
Tagged: #interface #dart
ADD COMMENT
Topic
Name
1+3 =