DataSize.bytes constructor

DataSize.bytes(
  1. int value
)

Creates DataSize object with bytes value.

Implementation

factory DataSize.bytes(int value) {
  return DataSize(bytes: value);
}