Map<String, Object?> toJson() { var permissions = this.permissions; final json = <String, Object?>{}; json[r'permissions'] = permissions; return json; }