UserDataValidationParameters.fromJson constructor

UserDataValidationParameters.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserDataValidationParameters.fromJson(Map<String, dynamic> json) {
  return UserDataValidationParameters(
    scriptType: (json['scriptType'] as String?)?.toScriptType(),
    source: json['source'] != null
        ? Source.fromJson(json['source'] as Map<String, dynamic>)
        : null,
  );
}