Skip to content
masterclass Buddy

Flutter & Dart · Concept

Null safety

The Dart Null class represents the single object written as null. Dart provides operators such as ??, ??=, ?., ...?, and ! for working with null values.

Last updated

Syntax

class Null

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Object
  • noSuchMethod
  • toString
  • hashCode
  • runtimeType
  • operator ==

Source: Null class - dart:core library - Dart API. Checked 2026-11-03.