extractMutableReference function

SuiMoveNormalizedType extractMutableReference(
  1. SuiMoveNormalizedType normalizedType
)

Implementation

SuiMoveNormalizedType? extractMutableReference(
  SuiMoveNormalizedType normalizedType,
) {
  if (normalizedType is Map && normalizedType.containsKey('MutableReference')) {
    return normalizedType['MutableReference'];
  }
  return null;
}