Exemplar.fromJson constructor

Exemplar.fromJson(
  1. Map json_
)

Implementation

Exemplar.fromJson(core.Map json_)
    : this(
        attachments: (json_['attachments'] as core.List?)
            ?.map((value) => value as core.Map<core.String, core.dynamic>)
            .toList(),
        timestamp: json_['timestamp'] as core.String?,
        value: (json_['value'] as core.num?)?.toDouble(),
      );