fromJSON static method

Enable2faRequest fromJSON(
  1. Map<String, dynamic> data
)

Implementation

static Enable2faRequest fromJSON(Map<String, dynamic> data) {
	return Enable2faRequest(
		secret: (data["secret"] as String),
		otpLength: (data["otpLength"] as int)
	);
}