@override Map<String, dynamic> toJson() => { 'type': type, 'optional': optional, 'elementType': elementValueType.toJson(), };