toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (label != null) "label": encodeValue(label),
      if (about != null) "about": encodeValue(about),
      "price_id": encodeValue(priceId),
    };