one static method

RelationshipUpdated<ToOne> one(
  1. Response response
)

Implementation

static RelationshipUpdated<ToOne> one(Response response) {
  final json = response.document;
  return RelationshipUpdated(
      response, json == null ? null : InboundDocument(json).asToOne());
}