LogSettingsResponse.fromJson constructor

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

Implementation

factory LogSettingsResponse.fromJson(Map<String, dynamic> json) {
  return LogSettingsResponse(
    destination: (json['destination'] as String?)?.toDestination(),
    kmsKeyArn: json['kmsKeyArn'] as String?,
    logType: (json['logType'] as String?)?.toLogType(),
    resourceArn: json['resourceArn'] as String?,
    resourcePrefix: json['resourcePrefix'] as String?,
  );
}