toMap method

  1. @override
Map<String, dynamic> toMap()
override

Converts to a map value

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'Id': id,
    'LineNum': lineNum,
    'Description': description,
    'Amount': amount,
    'DetailType': type.toJsonString(),
    'DescriptionLineDetail': descriptionLineDetail.toMap(),
  };
}