one static method

Implementation

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