2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-04 02:08:21 +00:00

null-safety

This commit is contained in:
2021-07-24 13:12:43 +03:00
parent 6be04c39ed
commit 614c6853e3
48 changed files with 3022 additions and 3320 deletions

View File

@@ -31,7 +31,7 @@ class Session
Authentication get remoteAuthentication => _remoteAuth;
// public Source Source { get; }
DC id;
DC? id;
//DateTime get creation => _creation;
@@ -45,10 +45,8 @@ class Session
Authentication _localAuth, _remoteAuth;
Session(Authentication localAuthentication, Authentication remoteAuthentication)
Session(this._localAuth, this._remoteAuth)
{
this._localAuth = localAuthentication;
this._remoteAuth = remoteAuthentication;
}
}