debugJsonAndType function
Implementation
bool debugJsonAndType(dynamic jsonObj) {
if (jsonObj == null) return false;
if (jsonObj.runtimeType != Map &&
jsonObj.runtimeType != String &&
jsonObj.runtimeType != FLDyUnitModel) {
throw FlutterError(
'[FLUI Dyanmic]: need a valid parameter object (json / json string / FLDyUnitModel)');
}
return true;
}