copyWith method

ConnectData copyWith({
  1. int? code,
  2. String? msg,
  3. String? type,
})

Implementation

ConnectData copyWith({
  int? code,
  String? msg,
  String? type,
}) =>
    ConnectData(
      code: code ?? _code,
      msg: msg ?? _msg,
      type: type ?? _type,
    );