toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "woocommerce": Map.from(woocommerce!)
          .map((k, v) => MapEntry<String, dynamic>(k, v.toJson())),
      "other": Map.from(other!)
          .map((k, v) => MapEntry<String, dynamic>(k, v.toJson())),
    };