copyWith method

  1. @override
DeviceTokenHuaweiPush copyWith({
  1. String? token,
  2. bool? encrypt,
})
override

Implementation

@override
DeviceTokenHuaweiPush copyWith({
  String? token,
  bool? encrypt,
}) =>
    DeviceTokenHuaweiPush(
      token: token ?? this.token,
      encrypt: encrypt ?? this.encrypt,
    );