updateProject method

  1. @override
Future<Project> updateProject(
  1. String id, {
  2. String? displayName,
  3. String? description,
  4. String? repository,
  5. String? website,
  6. Map<String, String>? metadata,
})
override

Updates the mutable fields of the project with id.

Implementation

@override
Future<Project> updateProject(
  String id, {
  String? displayName,
  String? description,
  String? repository,
  String? website,
  Map<String, String>? metadata,
}) async => Project.fromJson(
  await _result(StoreProtocol.projectUpdate, {
    'id': id,
    'displayName': ?displayName,
    'description': ?description,
    'repository': ?repository,
    'website': ?website,
    'metadata': ?metadata,
  }),
);