toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'id': super.id,
    'type': {
      'def': {
        'BitSequence': {
          'bit_store_type': bitStoreType,
          'bit_order_type': bitOrderType,
        }
      },
      'path': super.path ?? <String>[],
      'docs': super.docs ?? <String>[],
    }
  };
}