copyWith method

ApiMessage copyWith({
  1. String? message,
})

Implementation

ApiMessage copyWith({
  String? message,
}) {
  return ApiMessage(
    message: message ?? this.message,
  );
}