postAttachment method

Future<MixinResponse<Attachment>> postAttachment()

Implementation

Future<MixinResponse<Attachment>> postAttachment() =>
    MixinResponse.request<Attachment>(
      dio.post('/attachments'),
      Attachment.fromJson,
    );