mockApp top-level property

ClientApp mockApp
getter/setter pair

Implementation

SoftcorpGrpc.ClientApp mockApp = SoftcorpGrpc.ClientApp(
    name: "Mock Name",
    createdAt: Timestamp.fromDateTime(DateTime.now()),
    updatedAt: Timestamp.fromDateTime(DateTime.now()),
    id: "mock id",
    contactEmail: "mock@softcorp.io",
    ownerId: "mock-owner-id",
    appWebsite: "https://mock.softcorp.io",
    logoUrl: "http://softcorp.io/wp-content/uploads/2021/10/softcorp-color.svg",
    termsUrl: "https://mock.softcorp.io/terms",
    audience: ["test mock audience"],
    scopes: mockScopes,
    grants: mockGrants,
    responses: mocResponses,
    callbacks: ["http://callback1.com"],
    availableGrants: mockGrants,
    availableScopes: mockScopes,
    availableResponses: mocResponses,
    clientMetadata: SoftcorpGrpc.ClientMetadata(
      about:
          "At Text we want to publish books that make a difference to people’s lives. We believe that reading should be a marvellous experience, that every book you read should somehow change your life if only by a fraction. We love the phrase ‘lost in a book’—that’s where we want our readers to be. You can’t get lost in a newspaper or a magazine or even a movie. But people get lost in books every day—on the tram, on the beach, in bed. Reading is what keeps the imagination supple and challenges preconceptions and prejudices. You read at your own speed, and the world you enter courtesy of the writer is yours and yours only, even if the person next to you on the bus is reading exactly the same book.",
      isOpen: true,
    ));