createBlog method

  1. @override
Future<CreateBlog> createBlog({
  1. required String title,
  2. required String body,
  3. required String format,
  4. required String category,
  5. required String distinctId,
  6. List<String>? tags,
  7. File? attachedFile,
  8. String? pushRedirectUrl,
})
override

Implementation

@override
Future<CreateBlog> createBlog({
  required String title,
  required String body,
  required String format,
  required String category,
  required String distinctId,
  List<String>? tags,
  File? attachedFile,
  String? pushRedirectUrl,
}) {
  return datasource.createBlog(
    title: title,
    body: body,
    format: format,
    category: category,
    distinctId: distinctId,
    tags: tags,
    attachedFile: attachedFile,
    pushRedirectUrl: pushRedirectUrl,
  );
}