copyWith method

LocalModel copyWith({
  1. String? title,
  2. String? title2,
  3. String? languageCode,
  4. String? countryCode,
  5. String? local,
  6. String? fileName,
})

Implementation

LocalModel copyWith({
  String? title,
  String? title2,
  String? languageCode,
  String? countryCode,
  String? local,
  String? fileName,
}) =>
    LocalModel(
      title: title ?? this.title,
      title2: title2 ?? this.title2,
      languageCode: languageCode ?? this.languageCode,
      countryCode: countryCode ?? this.countryCode,
      local: local ?? this.local,
      fileName: fileName ?? this.fileName,
    );