ScannedResource.fromJson constructor

ScannedResource.fromJson(
  1. Map json_
)

Implementation

ScannedResource.fromJson(core.Map json_)
    : this(
        resource: json_.containsKey('resource')
            ? json_['resource'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );