ScanConfig.fromJson constructor

ScanConfig.fromJson(
  1. Map _json
)

Implementation

ScanConfig.fromJson(core.Map _json)
    : this(
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        enabled: _json.containsKey('enabled')
            ? _json['enabled'] as core.bool
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        updateTime: _json.containsKey('updateTime')
            ? _json['updateTime'] as core.String
            : null,
      );