log function

dynamic log(
  1. Object? data
)

Implementation

log(Object? data) {
  final env = providerContainer.read(envProvider);
  if (env == ENV.dev || env == ENV.local || env == ENV.staging) {
    print(data);
  }
}