substringData method

String substringData(
  1. int offset,
  2. int count
)

Implementation

String substringData(int offset, int count) {
  return (data ?? '').substring(offset, offset + count);
}