toMap method

Map<String, dynamic> toMap (
  1. String value
)

Converts JSON string into map object or returns empty map when conversion is not possible.

  • value the JSON string to convert. Returns Map object value or empty object when conversion is not supported.

See toNullableMap