toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'kind': kind,
  'touchpoint': touchpoint,
  if (method != null) 'method': method,
  'fromCall': fromCall,
  'toCall': toCall,
  'failure': failure,
  'description': description,
};