fromInterface static method
convert a ReachFiveKeyInterface
to a ReachFiveKey
Implementation
static ReachFiveKey fromInterface(
ReachFiveKeyInterface reachFiveKeyInterface,
) =>
ReachFiveKey(
sdkConfig:
SdkConfigConverter.fromInterface(reachFiveKeyInterface.sdkConfig),
providerCreators: reachFiveKeyInterface.providerCreators
.whereType<ProviderCreatorInterface>()
.map(ProviderCreatorConverter.fromInterface)
.toList(),
);