style(dart): Format Dart source with dart_style 0.1.8
This commit is contained in:
@ -13,20 +13,16 @@ bool hasLifecycleHook(LifecycleEvent e, type, Directive annotation) {
|
||||
|
||||
if (e == onChange) {
|
||||
interface = OnChange;
|
||||
|
||||
} else if (e == onDestroy) {
|
||||
interface = OnDestroy;
|
||||
|
||||
} else if (e == onAllChangesDone) {
|
||||
interface = OnAllChangesDone;
|
||||
|
||||
} else if (e == onCheck) {
|
||||
interface = OnCheck;
|
||||
|
||||
} else if (e == onInit) {
|
||||
interface = OnInit;
|
||||
}
|
||||
|
||||
return interfaces.contains(interface);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user