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.
25 lines
549 B
25 lines
549 B
import 'package:equatable/equatable.dart';
|
|
|
|
class HelpArticle extends Equatable {
|
|
final int? id;
|
|
final String? aid;
|
|
final String? title;
|
|
final String? type;
|
|
final String? content;
|
|
|
|
HelpArticle({this.id, this.aid, this.title, this.type, this.content})
|
|
: super();
|
|
|
|
static HelpArticle fromJson(dynamic json) {
|
|
return HelpArticle(
|
|
id: json['id'],
|
|
aid: json['aid'],
|
|
title: json['title'],
|
|
type: json['type'],
|
|
content: json['content']);
|
|
}
|
|
|
|
@override
|
|
List<Object> get props => [aid!];
|
|
}
|