initial commit (migrated)
This commit is contained in:
commit
b594facb51
143 changed files with 11057 additions and 0 deletions
13
lib/features/quote/data/models/translation_model.dart
Normal file
13
lib/features/quote/data/models/translation_model.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'translation_model.freezed.dart';
|
||||
part 'translation_model.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class TranslationModel with _$TranslationModel {
|
||||
const factory TranslationModel({required String id, required String lang}) =
|
||||
_TranslationModel;
|
||||
|
||||
factory TranslationModel.fromJson(Map<String, dynamic> json) =>
|
||||
_$TranslationModelFromJson(json);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue