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
476 B
20 lines
476 B
import 'package:equatable/equatable.dart';
|
|
|
|
class UploadJsonResult extends Equatable {
|
|
final String? message;
|
|
final int? statusCode;
|
|
final String? url;
|
|
|
|
UploadJsonResult({this.message, this.statusCode, this.url}) : super();
|
|
|
|
static UploadJsonResult fromJson(dynamic json) {
|
|
return UploadJsonResult(
|
|
message: json["message"],
|
|
statusCode: json["status_code"],
|
|
url: json['data']);
|
|
}
|
|
|
|
@override
|
|
List<Object> get props => [this.url!];
|
|
}
|