GetV2LoggingOptionsResponse.fromJson constructor

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

Implementation

factory GetV2LoggingOptionsResponse.fromJson(Map<String, dynamic> json) {
  return GetV2LoggingOptionsResponse(
    defaultLogLevel: (json['defaultLogLevel'] as String?)?.toLogLevel(),
    disableAllLogs: json['disableAllLogs'] as bool?,
    roleArn: json['roleArn'] as String?,
  );
}