Creates a map representation of the object.
Map<String, Object?> toMap() => { 'label': label, 'amount': amount, 'type': type.toSimpleString(), 'status': status.toSimpleString(), };