clientVersion property

Version get clientVersion

Get the client version of the content.

Requires the content available size greater than zero.

Returns

  • The local downloaded version of the content. If available, Version.isValid returns true; otherwise, it returns false.

Throws

  • An exception if it fails.

Implementation

Version get clientVersion {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'getClientVersion',
  );

  return Version.fromJson(resultString['result']);
}