create method
Implementation
Future<CheckoutFormInitialize> create(IyziConfig options) async {
final result = await http.post(
Uri.parse(options.baseUrl +
'/payment/iyzipos/checkoutform/initialize/auth/ecom'),
headers: IyzipayResource.getHttpHeaders(this, options),
body: json.encode(toJson()),
);
final resultJson = json.decode(result.body);
return CheckoutFormInitialize.fromJson(resultJson);
}