MoveItemRequest.fromJson constructor

MoveItemRequest.fromJson(
  1. Map json_
)

Implementation

MoveItemRequest.fromJson(core.Map json_)
    : this(
        newLocation: json_.containsKey('newLocation')
            ? Location.fromJson(
                json_['newLocation'] as core.Map<core.String, core.dynamic>)
            : null,
        originalLocation: json_.containsKey('originalLocation')
            ? Location.fromJson(json_['originalLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
      );