getSsoConfig method

Future<OrgSsoConfigModel?> getSsoConfig(
  1. String orgId
)

Implementation

Future<OrgSsoConfigModel?> getSsoConfig(String orgId) async {
  final response = await _client
      .from('org_sso_configs')
      .select()
      .eq('org_id', orgId)
      .maybeSingle();
  if (response == null) return null;
  return OrgSsoConfigModel.fromJson(response);
}