toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'filename': filename,
    'data': base64Encode(data),
    'createdAt': createdAt,
    'futureRefresh': futureRefresh,
  };
}