getDocument method

  1. @Deprecated('Deprecated in version 0.6.0')
Future<Map<String, Object>> getDocument(
  1. String slugName
)

(DEPRECATED) Please use generateDocument instead. This method generates the document that is defined for the provided slug.

Args: slugName (String): The parameter slugName is a string that represents the name of a document slug that is being requested.

Implementation

@Deprecated('Deprecated in version 0.6.0')
Future<Map<String, Object>> getDocument(String slugName) async {
  return _methods.getDocument(slugName);
}