createComment method

  1. @override
Future<CommentActivityResult> createComment({
  1. required String token,
  2. required String targetId,
  3. required String body,
  4. String? category,
  5. List<String>? tags,
  6. String? pushRedirectUrl,
})
override

Implementation

@override
Future<CommentActivityResult> createComment({
  required String token,
  required String targetId,
  required String body,
  String? category,
  List<String>? tags,
  String? pushRedirectUrl,
}) {
  return datasource.createComment(
    token: token,
    targetId: targetId,
    body: body,
    category: category,
    tags: tags,
    pushRedirectUrl: pushRedirectUrl,
  );
}