Skip to content

Access sub fields #1

Description

@mrgnhnt96

Think of a way to access this

class Person {
   final Purchase purchase;
...
}

class Purchase {
   final Sting product;
...
}

How could we access Person.purchase.product?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions