SearchClause constructor

SearchClause({@required M4eUniqueId subjectId, @required M4eAccessPermissionType type, @required List<M4eAccessPermissionSet> encoding })

Implementation

SearchClause({
  @required M4eUniqueId subjectId,
  @required M4eAccessPermissionType type,
  @required List<M4eAccessPermissionSet> encoding,
})  : assert(subjectId != null,
          'SingleClauseSearchForm [subjectId] should not be null'),
      assert(
          type != null, 'SingleClauseSearchForm [type] should not be null'),
      assert(encoding != null && encoding.isNotEmpty,
          'SingleClauseSearchForm [encoding] should not be null'),
      this.subjectId = subjectId,
      this.type = type,
      this.encoding = encoding;