ActionRequest.fromJson constructor

ActionRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ActionRequest.fromJson(Map<String, Object?> json) =>
    ActionRequest(productId: json["product_id"] as String);