Catch string property value from dartObject
String? getStringValue(DartObject obj, String name) => ifExist(obj, name) ? obj.getField(name)!.toStringValue() : null;