decode static method
Implementation
static LogEntity decode(Object result) {
result as List<Object?>;
return LogEntity(
timestamp: result[0]! as int,
level: result[1]! as LogLevel,
category: result[2]! as LogCategory,
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?,
);
}