encode static method

Map<String, dynamic> encode(
  1. Enable2faRequest value
)

Implementation

static Map<String, dynamic> encode(Enable2faRequest value) {
	Map<String, dynamic> entityAsMap = {
		"secret" : value.secret,
		"otpLength" : value.otpLength
	};
	return entityAsMap;
}