create method

Future<Note> create(
  1. String body
)

Implementation

Future<Note> create(String body) async {
  final uri = _project.buildUri(
    ['issues', _iid, 'notes'],
    queryParameters: {"body": body},
  );

  final json = await _gitLab.request(uri, method: HttpMethod.post)
      as Map<String, dynamic>;

  return Note.fromJson(json);
}