one static method

RelationshipFetched<ToOne> one(
  1. Response httpResponse,
  2. Map json
)

Implementation

static RelationshipFetched<ToOne> one(Response httpResponse, Map json) =>
    RelationshipFetched(httpResponse, InboundDocument(json).asToOne())
      ..included.addAll(InboundDocument(json).included());