toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final filePath = this.filePath;
  final isMove = this.isMove;
  return {
    'filePath': filePath,
    if (isMove != null) 'isMove': isMove,
  };
}