getObjectFields function
dynamic
getObjectFields(
- dynamic resp
Implementation
ObjectContentFields? getObjectFields(dynamic resp) {
if (resp is SuiMoveObject) {
return resp.fields;
}
return getMoveObject(resp)?.fields;
}