toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var globalPermissions = this.globalPermissions;
  var projectPermissions = this.projectPermissions;

  final json = <String, Object?>{};
  json[r'globalPermissions'] = globalPermissions;
  json[r'projectPermissions'] =
      projectPermissions.map((i) => i.toJson()).toList();
  return json;
}