isFeedbackValid static method
Implementation
static bool isFeedbackValid({required String appId, required String message}) {
if (appId.trim().isEmpty) {
return false;
}
final msg = message.trim();
if (msg.length <= 5) {
return false;
}
if (msg.length >= 2000) {
return false;
}
return true;
}