Extending a Class
Let’s look at an example of inheritance in Dart.
We'll cover the following
Let’s look at an example to better understand inheritance.
Syntax #
In Dart, we use extends
to create a subclass.
Create a free account to access the full course.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy