MinuteRange.fromJson constructor

MinuteRange.fromJson(
  1. Map json_
)

Implementation

MinuteRange.fromJson(core.Map json_)
    : this(
        endMinutesAgo: json_.containsKey('endMinutesAgo')
            ? json_['endMinutesAgo'] as core.int
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        startMinutesAgo: json_.containsKey('startMinutesAgo')
            ? json_['startMinutesAgo'] as core.int
            : null,
      );