getTableForType method

  1. @override
Table? getTableForType(
  1. Type t
)
override

Maps Types to subclasses of Table.

Implementation

@override
_i1.Table? getTableForType(Type t) {
  switch (t) {
    case _i8.CloudStorageEntry:
      return _i8.CloudStorageEntry.t;
    case _i9.CloudStorageDirectUploadEntry:
      return _i9.CloudStorageDirectUploadEntry.t;
    case _i24.DatabaseMigrationVersion:
      return _i24.DatabaseMigrationVersion.t;
    case _i42.FutureCallEntry:
      return _i42.FutureCallEntry.t;
    case _i43.LogEntry:
      return _i43.LogEntry.t;
    case _i48.MessageLogEntry:
      return _i48.MessageLogEntry.t;
    case _i49.MethodInfo:
      return _i49.MethodInfo.t;
    case _i50.QueryLogEntry:
      return _i50.QueryLogEntry.t;
    case _i51.ReadWriteTestEntry:
      return _i51.ReadWriteTestEntry.t;
    case _i52.RuntimeSettings:
      return _i52.RuntimeSettings.t;
    case _i53.ServerHealthConnectionInfo:
      return _i53.ServerHealthConnectionInfo.t;
    case _i54.ServerHealthMetric:
      return _i54.ServerHealthMetric.t;
    case _i57.SessionLogEntry:
      return _i57.SessionLogEntry.t;
  }
  return null;
}