toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (providers != null) 'providers': providers!,
      if (rules != null) 'rules': rules!,
    };