language property

Language get language

Get the full language code for the product.

The Language can have empty field if no language is available for this type of products.

Returns

  • Full language code of the product (empty for none).

Throws

  • An exception if it fails.

Implementation

Language get language {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'getLanguage',
  );

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