toMap method
Converts to a map value
Implementation
@override
Map<String, dynamic> toMap() {
return <String, dynamic>{
'Id': id,
'LineNum': lineNum,
'Description': description,
'Amount': amount,
'DetailType': type.toJsonString(),
'AccountBasedExpenseLineDetail': accountBasedExpenseLineDetail?.toMap(),
};
}