toJson method Null safety

Map toJson()

Implementation

Map toJson() {
  return this._fields;
}