MiscService class Null safety

The MiscService handles communication with misc related methods of the GitHub API.

API docs: https://developer.github.com/v3/misc/

Inheritance

Constructors

MiscService(GitHub github)

Properties

github GitHub
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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