toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId!,
      if (enabled != null) 'enabled': enabled!,
      if (experimentPercent != null) 'experimentPercent': experimentPercent!,
      if (provider != null) 'provider': provider!,
      if (secret != null) 'secret': secret!,
      if (whitelistedAudiences != null)
        'whitelistedAudiences': whitelistedAudiences!,
    };