getOptions method

Map<String, dynamic> getOptions(
  1. String key,
  2. String value
)

Implementation

Map<String, dynamic> getOptions(String key, String value) {
  Map<String, dynamic> options = {
    key: value,
    "q": "${this.query}",
    "part": "snippet",
    "maxResults": "${this.maxResults}",
    "key": "${this.key}",
    "type": "${this.type}"
  };
  return options;
}