feedback models added
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// ignore_for_file: invalid_annotation_target
|
||||
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'meta.freezed.dart';
|
||||
part 'meta.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class Meta with _$Meta {
|
||||
const factory Meta({
|
||||
required int? limit,
|
||||
required int? offset,
|
||||
required int? page,
|
||||
required int? pages,
|
||||
required int? total,
|
||||
}) = _Meta;
|
||||
|
||||
factory Meta.fromJson(Map<String, dynamic> json) => _$MetaFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user