DatedValue.fromJson constructor

DatedValue.fromJson(
  1. Map json_
)

Implementation

DatedValue.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? Date.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );