toJson method

Object toJson({
  1. int? id,
})

Implementation

Object toJson ({int? id}) {
  return {
    'id': id,
    'filename': filename,
    'description': description
  };
}