MiscService class
The MiscService handles communication with misc related methods of the GitHub API.
API docs: https://developer.github.com/v3/misc/
Constructors
- MiscService(GitHub github)
Properties
Methods
-
getApiStatus(
) → Future< APIStatus> - Gets the GitHub API Status.
-
getGitignoreTemplate(
String name) → Future< GitignoreTemplate> -
Gets a .gitignore template by
name
. All template names can be fetched using listGitignoreTemplates. -
getOctocat(
[String? text]) → Future< String> -
Returns an ASCII Octocat with the specified
text
. -
getRateLimit(
) → Future< RateLimit> - Gets API Rate Limit Information
-
getWisdom(
) → Future< String> - Returns an ASCII Octocat with some wisdom.
-
getZen(
) → Future< String> -
listEmojis(
) → Future< Map< String, String> > - Fetches all emojis available on GitHub Returns a map of the name to a url of the image.
-
listGitignoreTemplates(
) → Future< List< String> > - Lists available .gitignore template names.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderMarkdown(
String? input, {String mode = 'markdown', String? context}) → Future< String> -
Renders Markdown from the
input
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited