Returns a Map with allFields values.
Map<String, dynamic> getFieldsValues(O? obj, {bool withHashCode = false});