BatchGrantPermissionsResponse.fromJson constructor

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

Implementation

factory BatchGrantPermissionsResponse.fromJson(Map<String, dynamic> json) {
  return BatchGrantPermissionsResponse(
    failures: (json['Failures'] as List?)
        ?.whereNotNull()
        .map((e) =>
            BatchPermissionsFailureEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}