factory RestrictedPermission.fromJson(Map<String, Object?> json) { return RestrictedPermission( id: json[r'id'] as String?, key: json[r'key'] as String?, ); }