toMap method

dynamic toMap (
  1. dynamic value
)

Converts value into map object or returns empty map when conversion is not possible

  • value the value to convert. Returns map object or empty map when conversion is not supported.

See toNullableMap