getAtSignStatusMessage static method
String
getAtSignStatusMessage(
- AtSignStatus? status
)
Implementation
static String getAtSignStatusMessage(AtSignStatus? status) {
status ??= AtSignStatus.error;
switch (status) {
case AtSignStatus.unavailable:
case AtSignStatus.notFound:
return '@sign is not registered yet. Please try with the registered one.';
case AtSignStatus.error:
return '@sign and the server is unreachable. Please try again';
default:
return 'Unknown status. Please try again later.';
}
}