toJson method

  1. @mustCallSuper
Map<String, dynamic> toJson()

Converting an object into a format for transferring to native.

Implementation

@mustCallSuper
Map<String, dynamic> toJson() {
  return {
    'initialCropRect': cropRect?.toJson(),
  };
}