$TimeRange.fromJson constructor

$TimeRange.fromJson(
  1. Map json_
)

Implementation

$TimeRange.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );