notNull static method

void notNull(
  1. dynamic value
)

Implementation

static void notNull(var value) {
  assert(() {
    if (value == null) {
      throw new FlutterError('assert: Object is null!');
    }
    return true;
  }());
}