LogLogin constructor
LogLogin({})
Implementation
LogLogin({
ObjectId? id,
ObjectId? bsid,
int? time,
DbJsonWraper? extra,
List<ObjectId>? trans,
ObjectId? uid,
int? clientVersion,
String? deviceType,
String? deviceVersion,
DbJsonWraper? deviceDetail,
int? loginCount,
Location? location,
int? login,
String? ip,
}) : _id = id ?? ObjectId(),
_bsid = bsid ?? ObjectId.fromHexString('000000000000000000000000'),
_time = time ?? DateTime.now().millisecondsSinceEpoch,
_extra = extra ?? DbJsonWraper(),
_trans = trans ?? [],
uid = uid ?? ObjectId.fromHexString('000000000000000000000000'),
clientVersion = clientVersion ?? 0,
deviceType = deviceType ?? '',
deviceVersion = deviceVersion ?? '',
deviceDetail = deviceDetail ?? DbJsonWraper(),
loginCount = loginCount ?? 0,
location = location ?? Location(),
login = login ?? 0,
ip = ip ?? '';