add method

MobiFragment add(
  1. BigInt rawOffset,
  2. Uint8List fragment,
  3. BigInt size
)

Implementation

MobiFragment add(BigInt rawOffset, Uint8List fragment, BigInt size) {
  next = MobiFragment();
  next!.rawOffset = rawOffset;
  next!.fragment = fragment;
  next!.size = size;
  return next!;
}