$UsageRule.fromJson constructor Null safety

$UsageRule.fromJson(
  1. Map _json
)

Implementation

$UsageRule.fromJson(core.Map _json)
    : this(
        allowUnregisteredCalls: _json.containsKey('allowUnregisteredCalls')
            ? _json['allowUnregisteredCalls'] as core.bool
            : null,
        selector: _json.containsKey('selector')
            ? _json['selector'] as core.String
            : null,
        skipServiceControl: _json.containsKey('skipServiceControl')
            ? _json['skipServiceControl'] as core.bool
            : null,
      );