getProperties method

Map<String, dynamic> getProperties (dynamic obj)

Get values of all properties in specified object and returns them as a map.

  • obj an object to get properties from. Returns a map, containing the names of the object's properties and their values.