language property
Get the language of the product.
The returned Language may be null if the product has no associated language.
Returns
- A Language describing the product language or
nullwhen no language is associated.
Implementation
Language? get language {
final OperationResult resultString = objectMethod(
pointerId,
'ContentStoreItem',
'getLanguage',
);
final Language result = Language.fromJson(resultString['result']);
if (result.name.isEmpty) {
return null;
}
return result;
}