Created
January 26, 2020 03:05
-
-
Save SohiubAshraf/7b96dbf8993a44cdbf741aa10dd3d8fd to your computer and use it in GitHub Desktop.
extends
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Human{ | |
| String _name; | |
| int _age; | |
| Human (this._name , this._age); | |
| void test( ){ | |
| _age; | |
| } | |
| void asdqw(){ | |
| this.test(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:Education1/episode%20twelve.dart'; | |
| class werath extends Human{ | |
| werath(String name, int age) : super(name, age); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment