copyWith method

GetBackgroundUrl copyWith({
  1. String? name,
  2. BackgroundType? type,
})

Implementation

GetBackgroundUrl copyWith({
  String? name,
  BackgroundType? type,
}) =>
    GetBackgroundUrl(
      name: name ?? this.name,
      type: type ?? this.type,
    );