cmsClient property
SupabaseClient
get
cmsClient
Implementation
SupabaseClient get cmsClient {
final currentState = state;
if (currentState._cmsClient != null) return currentState._cmsClient!;
if (currentState.createCMSClient == null) {
throw Exception('No client found');
}
final res = currentState.createCMSClient!.call();
emit(currentState.copyWith(cmsClient: res));
return res;
}