toJson method

  1. @override
JsonMap toJson()
override

Returns this value as JSON fields.

Implementations may reject invalid typed values with StateError; native Core validation and connection startup are separate operations.

Implementation

@override
JsonMap toJson() => {
      'domainStrategy': domainStrategy,
      'domainMatcher': domainMatcher,
      'rules': rules,
      'balancers': balancers,
    };