Challenge.fromMap constructor

Challenge.fromMap(
  1. Map result
)

Implementation

factory Challenge.fromMap(final Map<dynamic, dynamic> result) => Challenge(
      type:
          ChallengeType.fromString(result['challengeType'] as String),
      oobCode: result['oobCode'] as String?,
      bindingMethod: result['bindingMethod'] as String?,
    );