toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "timeZone": timeZone,
      "currentLocalTime": currentLocalTime == null
          ? null
          : currentLocalTime!.toIso8601String(),
      "currentUtcOffset":
          currentUtcOffset == null ? null : currentUtcOffset!.toJson(),
      "standardUtcOffset":
          standardUtcOffset == null ? null : standardUtcOffset!.toJson(),
      "hasDayLightSaving": hasDayLightSaving,
      "isDayLightSavingActive": isDayLightSavingActive,
      "dstInterval": dstInterval,
    };