copyWith method

Image copyWith({
  1. String? idiom,
  2. String? filename,
  3. String? scale,
  4. List<Map<String, dynamic>>? appearances,
})

Implementation

Image copyWith({
  String? idiom,
  String? filename,
  String? scale,
  List<Map<String, dynamic>>? appearances,
}) =>
    Image(
      idiom: idiom ?? this.idiom,
      filename: filename ?? this.filename,
      scale: scale ?? this.scale,
      appearances: appearances ?? this.appearances,
    );