Skip to main content

toJson method

[Map[<[String], dynamic>]]

Converts the Attendee instance to a map structure..

This method is used to convert the Attendee instance to a map structure that can be converted to a JSON object.

params: None

returns:

  • Map<String, dynamic>: A map structure that can be converted to a JSON object.

Implementation

Map<String, dynamic>  
  1. talawa
  2. event_model
  3. Attendee
  4. toJson method
Attendee class