toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = this.data;
  return {
    'Data': base64Encode(data),
  };
}