copyWith method

  1. @override
NetworkStatisticsEntryCall copyWith({
  1. NetworkType? networkType,
  2. int? sentBytes,
  3. int? receivedBytes,
  4. double? duration,
})
override

Implementation

@override
NetworkStatisticsEntryCall copyWith({
  NetworkType? networkType,
  int? sentBytes,
  int? receivedBytes,
  double? duration,
}) =>
    NetworkStatisticsEntryCall(
      networkType: networkType ?? this.networkType,
      sentBytes: sentBytes ?? this.sentBytes,
      receivedBytes: receivedBytes ?? this.receivedBytes,
      duration: duration ?? this.duration,
    );