toJson method

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

Implementation

@visibleForTesting
Map<String, dynamic> toJson() => {
      "imageData": _bytesToBase64(_imageData),
      "imageUrl": _imageUrl,
    }.clearNulls();