mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-06-13 13:03:06 +08:00
nullsafety
This commit is contained in:
@ -2,7 +2,7 @@ import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
abstract class TencentApiResp {
|
||||
const TencentApiResp({
|
||||
this.ret,
|
||||
required this.ret,
|
||||
this.msg,
|
||||
});
|
||||
|
||||
@ -14,7 +14,7 @@ abstract class TencentApiResp {
|
||||
defaultValue: RET_SUCCESS,
|
||||
)
|
||||
final int ret;
|
||||
final String msg;
|
||||
final String? msg;
|
||||
|
||||
bool get isSuccessful => ret == RET_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user