toMap method

Map<String, dynamic> toMap()

Converts a ContactMessageParams object into a map.

Implementation

Map<String, dynamic> toMap() => {
      'name': name,
      'numbers': numbers,
    };