SlsaCheck.fromJson constructor

SlsaCheck.fromJson(
  1. Map json_
)

Implementation

SlsaCheck.fromJson(core.Map json_)
    : this(
        rules: json_.containsKey('rules')
            ? (json_['rules'] as core.List)
                .map((value) => VerificationRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );