Dart class hierarchy, code example Example: class in dart class class_name { //rest of the code here: }