$BooleanPolicy.fromJson constructor Null safety

$BooleanPolicy.fromJson(
  1. Map _json
)

Implementation

$BooleanPolicy.fromJson(core.Map _json)
    : this(
        enforced: _json.containsKey('enforced')
            ? _json['enforced'] as core.bool
            : null,
      );