Skip to content

Commit

Permalink
waqas/compliant_deriv_auth_package_with_ctrader
Browse files Browse the repository at this point in the history
  • Loading branch information
waqas-younas-deriv committed Feb 5, 2024
1 parent 68d2ef6 commit b752df6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/deriv_auth/lib/core/models/authorize_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class AuthorizeResponseEntity extends AuthorizeResponseEntityModel {

/// PlatformEnum mapper.
final Map<String, PlatformEnum> platformEnumMapper = <String, PlatformEnum>{
'ctrader': PlatformEnum.ctrader,
'derivez': PlatformEnum.derivez,
'dtrade': PlatformEnum.dtrade,
'dwallet': PlatformEnum.dwallet,
Expand All @@ -84,6 +85,9 @@ final Map<String, PlatformEnum> platformEnumMapper = <String, PlatformEnum>{

/// Platform Enum indicating the account is on which platform.
enum PlatformEnum {
/// ctrader.
ctrader,

/// derivez.
derivez,

Expand Down

0 comments on commit b752df6

Please sign in to comment.