decode static method
Implementation
static LogEntity decode(Object result) {
result as List<Object?>;
return LogEntity(
timestamp: result[0]! as int,
level: LogLevel.values[result[1]! as int]
,
category: LogCategory.values[result[2]! as int]
,
tag: result[3]! as String,
message: result[4]! as String,
threadName: result[5]! as String,
extras: (result[6] as Map<Object?, Object?>?)?.cast<String?, String?>(),
throwable: result[7] as String?,
);
}