class MyComponent1 {
String _status;
/// Creates a new instance of the component.
MyComponent1() : _status = 'Created' {
print('MyComponent1 has been created.');
}
void myTask() {
print('task executed');
}
}
class MyComponent1 {
String _status;
/// Creates a new instance of the component.
MyComponent1() : _status = 'Created' {
print('MyComponent1 has been created.');
}
void myTask() {
print('task executed');
}
}