toMap method

Map<String, dynamic> toMap (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]