IndexItemRequest.fromJson constructor

IndexItemRequest.fromJson(
  1. Map json_
)

Implementation

IndexItemRequest.fromJson(core.Map json_)
    : this(
        connectorName: json_.containsKey('connectorName')
            ? json_['connectorName'] as core.String
            : null,
        debugOptions: json_.containsKey('debugOptions')
            ? DebugOptions.fromJson(
                json_['debugOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        indexItemOptions: json_.containsKey('indexItemOptions')
            ? IndexItemOptions.fromJson(json_['indexItemOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        item: json_.containsKey('item')
            ? Item.fromJson(
                json_['item'] as core.Map<core.String, core.dynamic>)
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
      );