totalSize property

int get totalSize

Get the size of the content in bytes.

Returns

  • The real size of the content. If the content is not available then it returns 0.

Throws

  • An exception if it fails.

Implementation

int get totalSize {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'getTotalSize',
  );

  return resultString['result'];
}