copyWith method

StylesResponse copyWith({
  1. bool? error,
  2. StylesMeta? meta,
  3. int? status,
})

Implementation

StylesResponse copyWith({
  bool? error,
  StylesMeta? meta,
  int? status,
}) {
  return StylesResponse(
    error: error ?? this.error,
    meta: meta ?? this.meta,
    status: status ?? this.status,
  );
}