AccountSessionAccountOnboarding.fromJson constructor

AccountSessionAccountOnboarding.fromJson(
  1. Object? json
)

Implementation

factory AccountSessionAccountOnboarding.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountSessionAccountOnboarding(
    enabled: (map['enabled'] as bool),
    features: map['features'] == null ? null : (map['features'] as Object),
  );
}