settableTimeZoneFactory function

  1. @Injectable.new()
SettableTimeZone settableTimeZoneFactory()

Workaround to avoid making SettableTimeZone @Injectable(), since that gives the error: 'Missing identifier "TimeFunction" from metadata map".

Implementation

@Injectable()
SettableTimeZone settableTimeZoneFactory() => SettableTimeZone();