Request.fromJson constructor

Request.fromJson(
  1. Map json_
)

Implementation

Request.fromJson(core.Map json_)
    : this(
        createItem: json_.containsKey('createItem')
            ? CreateItemRequest.fromJson(
                json_['createItem'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteItem: json_.containsKey('deleteItem')
            ? DeleteItemRequest.fromJson(
                json_['deleteItem'] as core.Map<core.String, core.dynamic>)
            : null,
        moveItem: json_.containsKey('moveItem')
            ? MoveItemRequest.fromJson(
                json_['moveItem'] as core.Map<core.String, core.dynamic>)
            : null,
        updateFormInfo: json_.containsKey('updateFormInfo')
            ? UpdateFormInfoRequest.fromJson(json_['updateFormInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateItem: json_.containsKey('updateItem')
            ? UpdateItemRequest.fromJson(
                json_['updateItem'] as core.Map<core.String, core.dynamic>)
            : null,
        updateSettings: json_.containsKey('updateSettings')
            ? UpdateSettingsRequest.fromJson(json_['updateSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
      );