copyWith method

DisplayOutputBinding copyWith({
  1. String? host,
  2. String? connector,
  3. Map<String, Object?>? extra,
})

A copy with the given members replaced (a member cannot be reset to null this way).

Implementation

DisplayOutputBinding copyWith({
  String? host,
  String? connector,
  Map<String, Object?>? extra,
}) => DisplayOutputBinding(
  host: host ?? this.host,
  connector: connector ?? this.connector,
  extra: extra ?? this.extra,
);