DescribeResourcePermissionsResponse.fromJson constructor

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

Implementation

factory DescribeResourcePermissionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeResourcePermissionsResponse(
    marker: json['Marker'] as String?,
    principals: (json['Principals'] as List?)
        ?.whereNotNull()
        .map((e) => Principal.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}