CustomErrorRule.fromJson constructor

CustomErrorRule.fromJson(
  1. Map json_
)

Implementation

CustomErrorRule.fromJson(core.Map json_)
    : this(
        isErrorType: json_.containsKey('isErrorType')
            ? json_['isErrorType'] as core.bool
            : null,
        selector: json_.containsKey('selector')
            ? json_['selector'] as core.String
            : null,
      );