copyWith method
Implementation
WhatsappPayload copyWith({
String? from,
String? to,
String? body,
}) =>
WhatsappPayload(
from: from ?? this.from,
to: to ?? this.to,
body: body ?? this.body,
);
WhatsappPayload copyWith({
String? from,
String? to,
String? body,
}) =>
WhatsappPayload(
from: from ?? this.from,
to: to ?? this.to,
body: body ?? this.body,
);