toInterface static method

ReachFiveKeyInterface toInterface(
  1. ReachFiveKey reachFiveKey
)

convert a ReachFiveKey to a ReachFiveKeyInterface

Implementation

static ReachFiveKeyInterface toInterface(
  ReachFiveKey reachFiveKey,
) =>
    ReachFiveKeyInterface(
      sdkConfig: SdkConfigConverter.toInterface(reachFiveKey.sdkConfig),
      providerCreators: reachFiveKey.providerCreators
          .map(ProviderCreatorConverter.toInterface)
          .toList(),
    );