validate property

  1. @override
String? get validate
override

Gets the validation status for the request (default is null == params is valid).

Implementation

@override
String? get validate {
  if (hotWallet != null) {
    if (hotWallet is! String && hotWallet is! List<String>) {
      return "hotWallet variable should be string or list String";
    }
  }
  return null;
}