@override Object toJson() => { if (idMatcher case final idMatcher?) 'idMatcher': idMatcher.toJson(), };