tryMap method Null safety

SassMap? tryMap()

Returns this as a SassMap if it is one (including empty lists, which count as empty maps) or returns null if it's not.

Implementation

SassMap? tryMap() => null;