toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final invocationRole = this.invocationRole;
  final url = this.url;
  return {
    if (invocationRole != null) 'InvocationRole': invocationRole,
    if (url != null) 'Url': url,
  };
}