PublisherModelConfig.fromJson constructor

PublisherModelConfig.fromJson(
  1. Object? j
)

Implementation

factory PublisherModelConfig.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return PublisherModelConfig(
    loggingConfig: switch (json['loggingConfig']) {
      null => null,
      Object $1 => PredictRequestResponseLoggingConfig.fromJson($1),
    },
  );
}