Scan.fromJson constructor

Scan.fromJson(
  1. Map json_
)

Implementation

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