Session constructor
Creates a session object for existing session with given data
, id and
createdTime
Implementation
Session(this.id, Map<String, String> data, this.createdTime,
{this.needsUpdate = false}) {
if (data is Map) _data.addAll(data);
}