Point.fromJson constructor

Point.fromJson(
  1. Map json_
)

Implementation

Point.fromJson(core.Map json_)
    : this(
        interval: json_.containsKey('interval')
            ? TimeInterval.fromJson(
                json_['interval'] as core.Map<core.String, core.dynamic>)
            : null,
        value: json_.containsKey('value')
            ? TypedValue.fromJson(
                json_['value'] as core.Map<core.String, core.dynamic>)
            : null,
      );