RequestOptions.fromJson constructor

RequestOptions.fromJson(
  1. Map json_
)

Implementation

RequestOptions.fromJson(core.Map json_)
    : this(
        debugOptions: json_.containsKey('debugOptions')
            ? DebugOptions.fromJson(
                json_['debugOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        searchApplicationId: json_.containsKey('searchApplicationId')
            ? json_['searchApplicationId'] as core.String
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );