copyWith method Null safety

RTCIceServer copyWith(
  1. {String? username,
  2. String? credential,
  3. String? urls}
)

Implementation

RTCIceServer copyWith({
  String? username,
  String? credential,
  String? urls,
}) {
  return RTCIceServer(
    username: username ?? this.username,
    credential: credential ?? this.credential,
    urls: urls ?? this.urls,
  );
}