toJson method

String toJson()

Implementation

String toJson() => _YIMSDK.utils.toJson({
      "duration": duration,
      "image": image,
      "compress": compress,
    });