DescribeDRTAccessResponse.fromJson constructor

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

Implementation

factory DescribeDRTAccessResponse.fromJson(Map<String, dynamic> json) {
  return DescribeDRTAccessResponse(
    logBucketList: (json['LogBucketList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    roleArn: json['RoleArn'] as String?,
  );
}