toJson method

Map<String, dynamic> toJson()

Implementation

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