getInfo method

Future<QBFile?> getInfo(
  1. int id
)

Implementation

Future<QBFile?> getInfo(int id) async {
  Map<String, Object> data = Map();

  data["id"] = id;

  Map<Object?, Object?> map =
      await _fileModule.invokeMethod(GET_INFO_METHOD, data);

  QBFile? file = QBFileMapper.mapToQBFile(map);
  return file;
}