WikiResponse class

A class to contain the response from the Wikipedia query.

pageId is the unique personal identifier associated to that wiki page.

Constructors

WikiResponse({required bool success, required Map<String, dynamic> rawResponse, int? pageId, String? title, String? description, String? extract, List<Tuple2<String, String>>? langlinks})
const
WikiResponse.fromJson(String source)
factory
WikiResponse.fromMap(Map<String, dynamic> map)
factory

Properties

description String?
final
extract String?
final
hashCode int
The hash code for this object.
no setterinherited
final
pageId int?
final
rawResponse Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
final
title String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited