LogError constructor
LogError({
- dynamic id,
- dynamic bsid,
- int? time,
- DbJsonWraper? extra,
- List? trans,
- dynamic uid,
- int? clientVersion,
- String? deviceType,
- String? deviceVersion,
- DbJsonWraper? deviceDetail,
- DbJsonWraper? errorDetail,
- int? errorTime,
- bool? finished,
Implementation
LogError({
ObjectId? id,
ObjectId? bsid,
int? time,
DbJsonWraper? extra,
List<ObjectId>? trans,
ObjectId? uid,
int? clientVersion,
String? deviceType,
String? deviceVersion,
DbJsonWraper? deviceDetail,
DbJsonWraper? errorDetail,
int? errorTime,
bool? finished,
}) : _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(),
errorDetail = errorDetail ?? DbJsonWraper(),
errorTime = errorTime ?? 0,
finished = finished ?? false;