isValidMap method
Implementation
bool isValidMap(dynamic key) {
final value = this[key];
if (value != null && value is Map<String, dynamic> && value.isNotEmpty) {
return true;
}
return false;
}
bool isValidMap(dynamic key) {
final value = this[key];
if (value != null && value is Map<String, dynamic> && value.isNotEmpty) {
return true;
}
return false;
}