toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id.toJson(),
    'initiatorUrl': initiatorUrl,
    'destination': destination,
    'type': type,
    'timestamp': timestamp.toJson(),
    'depth': depth,
    'completedAttempts': completedAttempts,
    'body': body,
    'status': status.toJson(),
  };
}