toJson method

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

Dont change order of toJson the key index must be equal to protoConfig fields.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'user_allocations': userAllocations.map((e) => e.toJson()).toList(),
  };
}