You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aku_new_community/lib/model/user/blacklist_model.dart

32 lines
694 B

import 'package:aku_new_community/model/common/img_model.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:equatable/equatable.dart';
part 'blacklist_model.g.dart';
@JsonSerializable()
class BlacklistModel extends Equatable {
final int id;
final List<ImgModel> imgList;
final String? name;
final String nickName;
factory BlacklistModel.fromJson(Map<String, dynamic> json) =>
_$BlacklistModelFromJson(json);
const BlacklistModel({
required this.id,
required this.imgList,
this.name,
required this.nickName,
});
@override
List<Object?> get props => [
id,
imgList,
name,
nickName,
];
}