copyWith method

SendCallDebugInformation copyWith({
  1. InputCall? callId,
  2. String? debugInformation,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

SendCallDebugInformation copyWith({
  InputCall? callId,
  String? debugInformation,
}) => SendCallDebugInformation(
  callId: callId ?? this.callId,
  debugInformation: debugInformation ?? this.debugInformation,
);