EnableIoTLoggingParams.fromJson constructor

EnableIoTLoggingParams.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EnableIoTLoggingParams.fromJson(Map<String, dynamic> json) {
  return EnableIoTLoggingParams(
    logLevel: (json['logLevel'] as String).toLogLevel(),
    roleArnForLogging: json['roleArnForLogging'] as String,
  );
}