toMap method

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

Converts the object to a map representation.

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'mainObjectRef': mainObjectRef ?? ref,
    'duplicateRefs': duplicateRefs,
  };
}