package io.flutter.util; /* loaded from: classes6.dex */ public final class Preconditions { private Preconditions() { } public static T checkNotNull(T t) { t.getClass(); return t; } public static void checkState(boolean z) { if (!z) { throw new IllegalStateException(); } } public static void checkState(boolean z, Object obj) { if (!z) { throw new IllegalStateException(String.valueOf(obj)); } } }