ScanData.fromJson constructor

ScanData.fromJson(
  1. Map json_
)

Implementation

ScanData.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data')
            ? VisualizationData.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );