DebugResponse.fromJson constructor

DebugResponse.fromJson(
  1. Map json_
)

Implementation

DebugResponse.fromJson(core.Map json_)
    : this(
        gsrRequest: json_.containsKey('gsrRequest')
            ? json_['gsrRequest'] as core.String
            : null,
        gsrResponse: json_.containsKey('gsrResponse')
            ? json_['gsrResponse'] as core.String
            : null,
        searchResponse: json_.containsKey('searchResponse')
            ? SearchResponse.fromJson(json_['searchResponse']
                as core.Map<core.String, core.dynamic>)
            : null,
      );