isMockData method
Check whether mock data is enabled for a given data type.
Parameters
type: The DataType to query.
Returns
- bool: True if mock data is active for the specified type, false otherwise.
Implementation
bool isMockData(final DataType type) {
final OperationResult resultString = objectMethod(
pointerId,
'DataSourceContainer',
'isMockData',
args: type.id,
);
return resultString['result'];
}