copyWith method

BulkEditActionError copyWith({
  1. List<String>? errorMessages,
  2. Map<String, dynamic>? errors,
})

Implementation

BulkEditActionError copyWith(
    {List<String>? errorMessages, Map<String, dynamic>? errors}) {
  return BulkEditActionError(
    errorMessages: errorMessages ?? this.errorMessages,
    errors: errors ?? this.errors,
  );
}