5package io.flutter.util;
7import androidx.annotation.Nullable;
24 if (reference ==
null) {
25 throw new NullPointerException();
38 throw new IllegalStateException();
50 public static void checkState(
boolean expression, @Nullable Object errorMessage) {
52 throw new IllegalStateException(String.valueOf(errorMessage));
static void checkState(boolean expression)
static void checkState(boolean expression, @Nullable Object errorMessage)
static< T > T checkNotNull(T reference)