getObjectFields function

dynamic getObjectFields(
  1. dynamic resp
)

Implementation

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

  return getMoveObject(resp)?.fields;
}