main.dart:9:7: Error: The non-abstract class 'Robot' is missing implementations for these members:
- Person.greet
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class Robot implements Person {
^^^^^
main.dart:4:8: Context: 'Person.greet' is defined here.
void greet() {
^^^^^