This commit is contained in:
v7lin
2021-01-31 18:56:10 +08:00
parent e1d73bee1c
commit 7bef3eedf6
20 changed files with 121 additions and 107 deletions

View File

@ -1,7 +1,7 @@
import 'package:json_annotation/json_annotation.dart';
abstract class TencentApiResp {
TencentApiResp({
const TencentApiResp({
this.ret,
this.msg,
});
@ -16,5 +16,5 @@ abstract class TencentApiResp {
final int ret;
final String msg;
bool isSuccessful() => ret == RET_SUCCESS;
bool get isSuccessful => ret == RET_SUCCESS;
}