dataGet method

RestActionAble dataGet({
  1. required String path,
  2. num scale = 1,
})

Generates a Data Widget

entity.dataGet(path: 'CustomName').queue()

Implementation

RestActionAble dataGet({required String path, num scale = 1}) {
  if ((selector == 'a' || selector == 'e') &&
      (arguments['limit'] == null || arguments['limit'] != '1')) {
    throw ('Cannot work with data of multiple entities in data command');
  }
  return StraitWidget.builder
      .create(Data.get(this, path: path, scale: scale));
}