UpdateEmbeddedObjectPositionRequest.fromJson constructor

UpdateEmbeddedObjectPositionRequest.fromJson(
  1. Map json_
)

Implementation

UpdateEmbeddedObjectPositionRequest.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? json_['fields'] as core.String
            : null,
        newPosition: json_.containsKey('newPosition')
            ? EmbeddedObjectPosition.fromJson(
                json_['newPosition'] as core.Map<core.String, core.dynamic>)
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.int
            : null,
      );