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 _i43.FutureCallEntry:
      return _i43.FutureCallEntry.t;
    case _i44.LogEntry:
      return _i44.LogEntry.t;
    case _i49.MessageLogEntry:
      return _i49.MessageLogEntry.t;
    case _i50.MethodInfo:
      return _i50.MethodInfo.t;
    case _i51.QueryLogEntry:
      return _i51.QueryLogEntry.t;
    case _i52.ReadWriteTestEntry:
      return _i52.ReadWriteTestEntry.t;
    case _i53.RuntimeSettings:
      return _i53.RuntimeSettings.t;
    case _i54.ServerHealthConnectionInfo:
      return _i54.ServerHealthConnectionInfo.t;
    case _i55.ServerHealthMetric:
      return _i55.ServerHealthMetric.t;
    case _i58.SessionLogEntry:
      return _i58.SessionLogEntry.t;
  }
  return null;
}