check method

  1. @override
String? check()
override

Implementation

@override
String? check() => ids.isEmpty ? "ids should not be empty" : null;