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.
20 lines
407 B
20 lines
407 B
class BaseFileModel {
|
|
String message;
|
|
String url;
|
|
bool status;
|
|
BaseFileModel({
|
|
this.message,
|
|
this.url,
|
|
this.status,
|
|
});
|
|
|
|
BaseFileModel.err(
|
|
{this.message = '未知错误', this.url = '', this.status = false});
|
|
|
|
BaseFileModel.fromJson(Map<String, dynamic> json) {
|
|
message = json['message'] ?? '';
|
|
url = json['url'] ?? null;
|
|
status = json['status'] ?? false;
|
|
}
|
|
}
|