copyWith method

ArtemisAcpsReceivedData copyWith({
  1. String? data,
  2. String? deviceType,
  3. String? deviceName,
  4. String? deviceId,
  5. DateTime? readTime,
})

Implementation

ArtemisAcpsReceivedData copyWith({
  String? data,
  String? deviceType,
  String? deviceName,
  String? deviceId,
  DateTime? readTime,
}) =>
    ArtemisAcpsReceivedData(
      data: data ?? this.data,
      deviceType: deviceType ?? this.deviceType,
      deviceName: deviceName ?? this.deviceName,
      deviceId: deviceId ?? this.deviceId,
      readTime: readTime ?? this.readTime,
    );