DolphinSR constructor Null safety

DolphinSR(
  1. {DateTime? currentDateGetter}
)

Implementation

DolphinSR({this.currentDateGetter}) {
  _state = makeEmptyState();
  _masters = <String?, Master>{};
  currentDateGetter ??= DateTime.now();
}