copyUsing method
Implementation
ConnectionStateUpdate copyUsing(
void Function(ConnectionStateUpdate$Change change) mutator) {
final change = ConnectionStateUpdate$Change._(
this.deviceId,
this.connectionState,
this.failure,
);
mutator(change);
return ConnectionStateUpdate(
deviceId: change.deviceId,
connectionState: change.connectionState,
failure: change.failure,
);
}