TimeInterval.fromJson constructor

TimeInterval.fromJson(
  1. Map _json
)

Implementation

TimeInterval.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,
      );