MemberRestriction.fromJson constructor

MemberRestriction.fromJson(
  1. Map json_
)

Implementation

MemberRestriction.fromJson(core.Map json_)
    : this(
        evaluation: json_.containsKey('evaluation')
            ? RestrictionEvaluation.fromJson(
                json_['evaluation'] as core.Map<core.String, core.dynamic>)
            : null,
        query:
            json_.containsKey('query') ? json_['query'] as core.String : null,
      );