toJson method

  1. @override
Map<String, dynamic> toJson(
  1. UPostgateEmbeddingRule object
)

Implementation

@override
Map<String, dynamic> toJson(UPostgateEmbeddingRule object) => object.when(
      disableRule: const DisableRuleConverter().toJson,
      unknown: (data) => data,
    );