Serializable constructor Null safety

  1. @mustCallSuper
Serializable()

Create an object that can be serialized to JSON.

Implementation

@mustCallSuper
Serializable() {
  $type = jsonType;
}