QueryContext.fromJson constructor

QueryContext.fromJson(
  1. Map<String, dynamic> json
)

Read this payload from a decoded JSON object.

Implementation

factory QueryContext.fromJson(Map<String, dynamic> json) => QueryContext(
      time: json['time'] as String?,
      locator: json['locator'] as String?,
    );