From f29d9edb22bb39ada4b7abb5a076f73793be7dbd Mon Sep 17 00:00:00 2001 From: error500 Date: Tue, 25 Jan 2022 17:30:21 +0600 Subject: [PATCH] migrate fix int Null --- lib/core/models/user.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/models/user.dart b/lib/core/models/user.dart index 9b84289..f5b1f5c 100644 --- a/lib/core/models/user.dart +++ b/lib/core/models/user.dart @@ -16,8 +16,8 @@ class User { email: json['mail'], token: json['api_token'], fullName: json['fullname'], - appCompanyId: json['app_company_id'] as int, - kassaId: json['kassa_id'] as int, + appCompanyId: json['app_company_id'], + kassaId: json['kassa_id'], ) : null; }