onInit property

Future<Null> get onInit

Returns a future which completes when offsetFromUtc is first set to a non-null value, indicating that it's now safe to call Clock.now().

Implementation

Future<Null> get onInit => _initialized.future;