toMap method

Map<String, dynamic> toMap()

Converts this instance to a Map for serialization over platform channels.

Implementation

Map<String, dynamic> toMap() {
  return {
    'friendlyNameExtra': friendlyNameExtra,
    'url': url,
    'method': method,
    'body': body,
    'id': id,
    'friendlyName': friendlyName,
    'headers': headers,
  };
}