copyWith method

Message copyWith({
  1. String? translation,
  2. List? args,
})

Implementation

Message copyWith({String? translation, List<dynamic>? args}) {
  return Message(
    translation: translation ?? this.translation,
    args: args ?? this.args,
  );
}