|
|
@ -6,7 +6,7 @@ class LoginInfo { |
|
|
|
AuthInfo authInfo, |
|
|
|
AuthInfo authInfo, |
|
|
|
List<CouponList> couponList,}){ |
|
|
|
List<CouponList> couponList,}){ |
|
|
|
_authInfo = authInfo; |
|
|
|
_authInfo = authInfo; |
|
|
|
_couponList = couponList; |
|
|
|
// _couponList = couponList; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
LoginInfo.fromJson(dynamic json) { |
|
|
|
LoginInfo.fromJson(dynamic json) { |
|
|
@ -24,8 +24,6 @@ class LoginInfo { |
|
|
|
AuthInfo get authInfo => _authInfo; |
|
|
|
AuthInfo get authInfo => _authInfo; |
|
|
|
List<CouponList> get couponList => _couponList; |
|
|
|
List<CouponList> get couponList => _couponList; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() { |
|
|
|
Map<String, dynamic> toJson() { |
|
|
|
final map = <String, dynamic>{}; |
|
|
|
final map = <String, dynamic>{}; |
|
|
|
if (_authInfo != null) { |
|
|
|
if (_authInfo != null) { |
|
|
|