copyWith method

  1. @override
NetworkStatisticsEntryFile copyWith({
  1. FileType? fileType,
  2. NetworkType? networkType,
  3. int? sentBytes,
  4. int? receivedBytes,
})
override

Implementation

@override
NetworkStatisticsEntryFile copyWith({
  FileType? fileType,
  NetworkType? networkType,
  int? sentBytes,
  int? receivedBytes,
}) => NetworkStatisticsEntryFile(
  fileType: fileType ?? this.fileType,
  networkType: networkType ?? this.networkType,
  sentBytes: sentBytes ?? this.sentBytes,
  receivedBytes: receivedBytes ?? this.receivedBytes,
);