toMapValue method Null safety

Map<DartObject?, DartObject?>? toMapValue()

Return a map corresponding to the value of the object being represented, or null if

  • this object is not of type 'Map', or
  • the value of the object being represented is null.

Implementation

Map<DartObject?, DartObject?>? toMapValue();