TimedCount.fromJson constructor

TimedCount.fromJson(
  1. Map _json
)

Implementation

TimedCount.fromJson(core.Map _json)
    : this(
        count:
            _json.containsKey('count') ? _json['count'] as core.String : null,
        endTime: _json.containsKey('endTime')
            ? _json['endTime'] as core.String
            : null,
        startTime: _json.containsKey('startTime')
            ? _json['startTime'] as core.String
            : null,
      );