toParams method

  1. @override
Map<String, String> toParams()
override

Convert to API parameters

Implementation

@override
Map<String, String> toParams() {
  return {
    ...super.toParams(),
    'watermarkType': 'text',
    'text': text,
    'textColor': textColor,
    'fontSize': fontSize.toString(),
    'fontFamily': fontFamily,
  };
}