toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "title": title,
      "description": description,
      "order": order,
      "enabled": enabled,
      "method_title": methodTitle,
      "method_description": methodDescription,
      "method_supports": List<dynamic>.from(methodSupports!.map((x) => x)),
      "settings": settings!.toJson(),
      "_links": links!.toJson(),
    };