Permission.fromJSON constructor
Implementation
factory Permission.fromJSON(Map<String, dynamic> data) {
return Permission(
grants: (data["grants"] as List<dynamic>).map((x0) => PermissionItem.fromJSON(x0) ).toSet(),
revokes: (data["revokes"] as List<dynamic>).map((x0) => PermissionItem.fromJSON(x0) ).toSet()
);
}