resolve method

  1. @override
String resolve(
  1. BuildContext context,
  2. InstructionsKeyType key
)

Implementation

@override
String resolve(BuildContext context, InstructionsKeyType key) {
  switch (key) {
    case InstructionsKeyType.totpStep1Title:
      return totpStep1Title(context);
    case InstructionsKeyType.totpStep2Title:
      return totpStep2Title(context);
    case InstructionsKeyType.totpStep3Title:
      return totpStep3Title(context);
    case InstructionsKeyType.totpStep1Body:
      return totpStep1Body(context);
    case InstructionsKeyType.totpStep2Body:
      return totpStep2Body(context);
    case InstructionsKeyType.totpStep3Body:
      return totpStep3Body(context);
  }
}