interfaceOf static method

Service? interfaceOf(
  1. Actor actor
)

Get the interface of an actor, in the form of an instance of a Service. @param actor The actor to get the interface of.

Implementation

static Service? interfaceOf(Actor actor) {
  return actor.metadata.service;
}