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 _i5.CloudStorageEntry:
      return _i5.CloudStorageEntry.t;
    case _i6.CloudStorageDirectUploadEntry:
      return _i6.CloudStorageDirectUploadEntry.t;
    case _i21.DatabaseMigrationVersion:
      return _i21.DatabaseMigrationVersion.t;
    case _i39.FutureCallEntry:
      return _i39.FutureCallEntry.t;
    case _i40.LogEntry:
      return _i40.LogEntry.t;
    case _i45.MessageLogEntry:
      return _i45.MessageLogEntry.t;
    case _i46.MethodInfo:
      return _i46.MethodInfo.t;
    case _i47.QueryLogEntry:
      return _i47.QueryLogEntry.t;
    case _i48.ReadWriteTestEntry:
      return _i48.ReadWriteTestEntry.t;
    case _i49.RuntimeSettings:
      return _i49.RuntimeSettings.t;
    case _i50.ServerHealthConnectionInfo:
      return _i50.ServerHealthConnectionInfo.t;
    case _i51.ServerHealthMetric:
      return _i51.ServerHealthMetric.t;
    case _i54.SessionLogEntry:
      return _i54.SessionLogEntry.t;
  }
  return null;
}