NonSdkApiUsageViolation.fromJson constructor

NonSdkApiUsageViolation.fromJson(
  1. Map _json
)

Implementation

NonSdkApiUsageViolation.fromJson(core.Map _json)
    : this(
        apiSignatures: _json.containsKey('apiSignatures')
            ? (_json['apiSignatures'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        uniqueApis: _json.containsKey('uniqueApis')
            ? _json['uniqueApis'] as core.int
            : null,
      );