ViolatingResource.fromJson constructor

ViolatingResource.fromJson(
  1. Map json_
)

Implementation

ViolatingResource.fromJson(core.Map json_)
    : this(
        contentType: json_.containsKey('contentType')
            ? json_['contentType'] as core.String
            : null,
        resourceUrl: json_.containsKey('resourceUrl')
            ? json_['resourceUrl'] as core.String
            : null,
      );