AddResourcePermissionsResponse.fromJson constructor

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

Implementation

factory AddResourcePermissionsResponse.fromJson(Map<String, dynamic> json) {
  return AddResourcePermissionsResponse(
    shareResults: (json['ShareResults'] as List?)
        ?.whereNotNull()
        .map((e) => ShareResult.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}