SessionLogFilter.fromJson constructor

SessionLogFilter.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory SessionLogFilter.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return SessionLogFilter(
    endpoint: serializationManager
        .deserialize<String?>(jsonSerialization['endpoint']),
    method: serializationManager
        .deserialize<String?>(jsonSerialization['method']),
    futureCall: serializationManager
        .deserialize<String?>(jsonSerialization['futureCall']),
    slow: serializationManager.deserialize<bool>(jsonSerialization['slow']),
    error: serializationManager.deserialize<bool>(jsonSerialization['error']),
    open: serializationManager.deserialize<bool>(jsonSerialization['open']),
    lastSessionLogId: serializationManager
        .deserialize<int?>(jsonSerialization['lastSessionLogId']),
  );
}